I'm working through the docker installation guide. Running CentOS 7. I ran:
curl -sSL https://get.docker.com/ | sh
Output:
warning: /var/cache/yum/x86_64/7/docker-main-repo/packages/docker-engine-1.8.2-1.el7.centos.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID XXXXXX: NOKEY Public key for docker-engine-1.8.2-1.el7.centos.x86_64.rpm is not installed. Importing GPG key
There's a little more after that about Userid, Fingerprint, from.
Next I ran:
sudo service docker start
Output:
Starting docker (via systemctl): Job for docker.service failed. See 'systemctl status docker.service' and 'journalctl -xn' for details. [FAILED]
I don't know what this message is referring to. How can I fix this?
systemctl status docker.service
result:
docker.service timed out. Terminating. Failed to start docker application container engine Unit docker.service entered failed state
systemctl status docker.service
show?/etc/yum.repos.d/
directory and there is no file calledCentOS Extras
. Do you know how to add this repo? According to centos wiki it should have been installed an enabled by default: wiki.centos.org/AdditionalResources/Repositoriesyum search docker
finds the docker packages.yum info docker
prints 'Version : 1.8.2' and 'Repo : extras/7/x86_64'.