[英]Docker - orchardup/mysql container does not start on Ubuntu 14.04
Found a strange problem with orchardup/mysql container, which is one of the most starred trusted mysql containers. 发现了orchardup / mysql容器的奇怪问题,它是最受关注的mysql容器之一。 Container does not start on ubuntu host.
容器无法在ubuntu主机上启动。
I've tried to run it on Ubuntu 14.04 using: 我试图使用以下命令在Ubuntu 14.04上运行它:
docker run -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD=mypass orchardup/mysql
Container is not visible with: 容器不可见:
docker.io ps
It is visible using: 使用以下命令可见
docker.io ps -a
The default version of Docker on Ubuntu 14.04 is version 0.9. Ubuntu 14.04上Docker的默认版本是0.9版本。 You can try to use newest docker version:
您可以尝试使用最新的docker版本:
deb https://get.docker.io/ubuntu docker main
And install a package with: 并安装以下软件包:
sudo apt-get install lxc-docker.
You can also change the default driver to the devicemapper by adding line below to /etc/default/docker 您还可以通过在/ etc / default / docker下面添加以下行,将默认驱动程序更改为devicemapper
DOCKER_OPTS="--storage-driver=devicemapper"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.