1. 程式人生 > >ubuntu安裝Docker容器

ubuntu安裝Docker容器

emc 啟動 registry hello nbsp 成功 run start apt

第一步首先更新資源:

apt-get update

第二步安裝Docker:

apt-get install docker

第三步安裝docker.io:

apt-get install docker.io

第四步安裝docker-registry:

apt-get install docker-registry

第五步啟動docker容器:

systemctl start docker

最後驗證docker容器是否安裝成功:

docker run hello-world

ubuntu安裝Docker容器