Install Docker บน Centos 8

Install Docker
#yum install -y yum-utils
#yum-config-manager –add-repo https://download.docker.com/linux/centos/docker-ce.repo
#yum makecache
#yum install docker-ce -y
#yum install docker-ce –allowerasing
#systemctl enable –now docker
#systemctl status docker
#newgrp docker
#docker version
#dnf update -y
#dnf install curl
#sudo curl -L “https://github.com/docker/compose/releases/download/1.25.4/docker-compose-$(uname -s)-$(uname -m)” -o /usr/local/bin/docker-compose
#sudo chmod +x /usr/local/bin/docker-compose
#sudo docker-compose –version
#docker network ls
#docker network create -d bridge docker-name-network
#docker network ls


#dnf update -y ; reboot
#dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
#dnf list docker-ce
#dnf install docker-ce --nobest -y
#systemctl start docker
#systemctl enable docker
#docker --version
#dnf install curl -y
#curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
#chmod +x /usr/local/bin/docker-compose
#docker-compose --version