How to install docker in linux
Docker260
Test the installation environment
centos8 64
Install yum-utils toolkit
sudo yum install -y yum-utils
Set up download library
sudo yum-config-manager \
--add-repo https://download.docker.com/linux/centos/docker-ce.repo
Remove podman (conflicts with docker)
yum erase podman buildah
Install docker
sudo yum install docker-ce docker-ce-cli containerd.io
Start the docker service
systemctl start docker
Start the docker service on boot
systemctl enable docker
Run the test program
sudo docker run hello-world