Note that it is often installed. It's easy to forget ...
name | Explanation |
---|---|
docker-ce | Community Edition(Free version) |
docker-ee | Enterprise Edition(Paid version) |
$ sudo yum remove docker \
docker-common \
docker-selinux \
docker-engine
$ sudo yum install -y yum-utils \
device-mapper-persistent-data \
lvm2
$ sudo yum-config-manager --add-repo \
https://download.docker.com/linux/centos/docker-ce.repo
$ sudo yum install docker-ce
$ sudo usermod -aG docker $USER
$ cat /etc/group | grep docker
$ sudo groupadd docker
$ sudo systemctl enable docker
$ sudo systemctl start docker
If you exit from the terminal and log in again, the group will be reflected.
・ Obtaining Docker CE (for CentOS)
Recommended Posts