docker 的常用命令
阿新 • • 發佈:2018-11-21
[[email protected] ~]# service docker restart [[email protected] ~]# service docker stop [[email protected] ~]# service docker start [[email protected] ~]# docker run -it -v /docker_test:/ryp --name ryp [[email protected] ~]# docker ps [[email protected] ~]#docker ps -a [
[email protected] ~]# docker start ryp [[email protected] ~]# docker stop ryp [[email protected] ~]# docker restart ryp [[email protected] ~]# docker logs -f ryp [[email protected] ~]# docker stop ryp [[email protected] ~]# docker rm ryp [[email protected] ~]# docker rm $(docker ps -a -q)