标签:doc inux sig lis date rgba run deb osi
https://docs.docker.com/engine/install/ubuntu/
apt-get update
apt-get install apt-transport-https ca-certificates curl gnupg lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update
apt-get install docker-ce docker-ce-cli containerd.io
Verify that Docker Engine is installed correctly by running thehello-world
image.
docker run hello-world
标签:doc inux sig lis date rgba run deb osi
原文地址:https://www.cnblogs.com/chun2021/p/14824426.html