sudo journalctl -xe
mkdir /run/containerd/io.containerd.runtime.v2.task/docker/dockerd: file exists: unknown
it seems a bug of the latest (nightly) release.... which was installed automatically by the Centos updates process.
I uninstall everything:
sudo yum remove docker docker-common docker-selinux docker-engine
Then I install
https://docs.docker.com/install/linux/docker-ce/centos/#set-up-the-repository
sudo yum-config-manager --disable docker-ce-edge
sudo yum install docker-ce
sudo systemctl enable docker
systemctl start docker
systemctl status docker.service
Error starting daemon: error initializing graphdriver: /var/lib/docker contains several valid graphdrivers: devicemapper, overlay2; Please cleanup or explicit
sudo vi /usr/lib/systemd/system/docker.service
ExecStart=/usr/bin/dockerd -s=devicemapper -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock
sudo systemctl daemon-reload
sudo systemctl start docker
Monday, August 27, 2018
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment