手记

docker 命令

1- docker run -p 8080:80 -d daocloud.io/nginx  

2- docker ps

3- docker cp index.html 17add7bb://user/share/nginx/html

4- docker stop 17add7bbc58c

5-cocker commit -m 'fun'

6-docker commit -m 'fun' nginx-fun

7-docker rmi 17add7bbc58c

8-docker ps -a

9-docker rm 17add7bbc58c 17add7bbcc31

10-docker pull

11-docker build

12-docker images

13-docker run

14-docker run -d --hostname my-rabbit -p 5672:5672 -p 15672:15672 -e RABBITMQ_DEFAULT_USER=admin -e RABBITMQ_DEFAULT_PASS=hupan12 rabbitmq:3.7.3-management


0人推荐
随时随地看视频
慕课网APP