Docker Community Forums

Share and learn in the Docker community.

Installation did not finish cleanly


(Rchangwu) #1

I set up a $5 DigitalOcean droplet with Centos 7.2. I followed the instructions to install Docker using the script and I got the following output:

[root@waffle ~]# curl -fsSL https://get.docker.com/ | sh

  • sh -c 'sleep 3; yum -y -q install docker-engine’
    warning: /var/cache/yum/x86_64/7/docker-main-repo/packages/docker-engine-selinux-1.11.2-1.el7.centos.noarch.rpm: Header V4 RSA/SHA512 Signature, key ID 2c52609d: NOKEY
    Public key for docker-engine-selinux-1.11.2-1.el7.centos.noarch.rpm is not installed
    Importing GPG key 0x2C52609D:
    Userid : "Docker Release Tool (releasedocker)"
    Fingerprint: 5811 8e89 f3a9 1289 7c07 0adb f762 2157 2c52 609d
    From : https://yum.dockerproject.org/gpg
    setsebool: SELinux is disabled.
    libsemanage.semanage_exec_prog: Child process /sbin/setfiles did not exit cleanly.
    libsemanage.semanage_install_active: setfiles returned error code -1.
    libsemanage.semanage_exec_prog: Child process /sbin/setfiles did not exit cleanly.
    libsemanage.semanage_install_active: setfiles returned error code -1.
    /usr/sbin/semodule: Failed!

If you would like to use Docker as a non-root user, you should now consider
adding your user to the “docker” group with something like:

sudo usermod -aG docker your-user

Remember that you will have to log out and back in for this to take effect!

It seems that docker is installed, but why does it say that some processes did not exit cleanly?