docker 入门24小时
docker
docker install For Centos7
yum remove docker* yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo yum makecache fast yum -y install docker-ce systemctl enable docker && systemctl start docker
docker run hello-world
docker run hello-world
docker run
docker images docker pull centos docker run --name centos1 -itd -v /opt:/opt:rw -p 80:80 centos
docker manager
# login container docker attach centos1 # logout container ctrl+p ctrl+q
docker local repo
docker pull registry docker run --name localrepo -p 5000:5000 registry docker tag centos 127.0.0.1:5000/justin/centos:v1 docker push 127.0.0.1:5000/justin/centos:v1
相关推荐
王道革 2020-11-25
bwyyziq 2020-11-22
pigsmall 2020-11-19
changecan 2020-11-19
helloWorldAndYou 2020-11-16
nginxs 2020-11-14
红石丶 2020-11-13
WanKaShing 2020-11-12
yangkang 2020-11-12
滴水穿石点石成金 2020-11-12
张荣珍 2020-11-12
wuxunanjing 2020-11-11
魅惑青花瓷 2020-11-11
lihongtai 2020-11-09
yangkang 2020-11-09
worldsnow 2020-11-06
MichaelJScofield 2020-11-06
TaoTaoFu 2020-11-06