[root@localhost ~]# docker top static_test
UID PID PPID C STIME TTY TIME CMD
root 4719 4702 0 13:17 pts/2 00:00:00 /bin/bash
[root@localhost ~]# docker exec static_test nginx
[root@localhost ~]# docker top static_test
UID PID PPID C STIME TTY TIME CMD
root 4719 4702 0 13:17 pts/2 00:00:00 /bin/bash
root 4800 1 0 13:18 ? 00:00:00 nginx: master process nginx
amandab+ 4801 4800 0 13:18 ? 00:00:00 nginx: worker process
amandab+ 4802 4800 0 13:18 ? 00:00:00 nginx: worker process
amandab+ 4803 4800 0 13:18 ? 00:00:00 nginx: worker process
amandab+ 4804 4800 0 13:18 ? 00:00:00 nginx: worker process
amandab+ 4805 4800 0 13:18 ? 00:00:00 nginx: worker process
amandab+ 4806 4800 0 13:18 ? 00:00:00 nginx: worker process
amandab+ 4807 4800 0 13:18 ? 00:00:00 nginx: worker process
amandab+ 4808 4800 0 13:18 ? 00:00:00 nginx: worker process
[root@localhost ~]#
总结
以上就是这篇文章的全部内容了,希望本文的内容对大家的学习或者工作能带来一定的帮助,如有疑问大家可以留言交流,谢谢大家对软件开发网的支持。
您可能感兴趣的文章:Docker容器使用jenkins部署web项目(总结)Docker容器化部署尝试——多容器通信(node+mongoDB+nginx)Docker 给运行中的容器设置端口映射的方法docker容器如何优雅的终止详解Docker 容器操作退出后进入解决办法Docker常用的清除容器镜像命令小结docker容器启动后添加端口映射.net 4.5部署到docker容器的完整步骤










