Docker.github.io: Error response from daemon: could not get container for some-mysql: No such container: some-mysql.

Created on 24 Nov 2017  路  2Comments  路  Source: docker/docker.github.io

File: _samples/library/wordpress/index.md, CC @aanand when I ran sudo docker run --name some-wordpress --link some-mysql:mysql -d wordpress I got no such container error. The same error for sudo docker run --name some-wordpress --link some-mysql:mysql -p 8080:80 -d wordpress Any possible solution?

Most helpful comment

Just thought I would leave this here for anyone else having the same issue (as a person with almost no docker experience): you must pull and run an instance of mysql prior to running the wordpress docker. Those instructions are at https://hub.docker.com/_/mysql/

All 2 comments

Hi @YanzhongSu - while we republish the Library docs, we don't actually maintain them in the docs repo. I know it's a pain, but can you open this issue over in this repo: https://github.com/docker-library/docs/tree/master/wordpress/

Just thought I would leave this here for anyone else having the same issue (as a person with almost no docker experience): you must pull and run an instance of mysql prior to running the wordpress docker. Those instructions are at https://hub.docker.com/_/mysql/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Bharathkumarraju picture Bharathkumarraju  路  3Comments

joaofnfernandes picture joaofnfernandes  路  3Comments

vinilneves picture vinilneves  路  3Comments

GPPassos picture GPPassos  路  3Comments

MicheleMannino picture MicheleMannino  路  4Comments