Skip to content

Instantly share code, notes, and snippets.

@smijar
Last active February 19, 2018 21:20
Show Gist options
  • Save smijar/f5105e30b3a345707a56b33a07254605 to your computer and use it in GitHub Desktop.
Save smijar/f5105e30b3a345707a56b33a07254605 to your computer and use it in GitHub Desktop.
Installing docker-ce on Centos7 minimal
yum update
https://docs.docker.com/engine/installation/linux/centos/
yum install -y yum-utils
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum makecache fast
yum install docker-ce
docker
To add docker-compose
---------------------
pip install docker-compose
To remove docker
----------------
yum remove docker-ce
To start docker service daemon
------------------------------
systemctl start docker
status
------
systemctl status docker
or
systemctl is-active docker
start Docker daemon on boot
---------------------------
systemctl enable docker
can disable it using:
systemctl disable docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment