docker 的常用命令
程序员文章站
2022-03-01 17:29:38
...
[[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)
上一篇: PHP聊天室技术_PHP教程
下一篇: K8S中的Port