lincoco

Results 3 issues of lincoco

请详细描述您对本项目的任何问题,我们会在第一时间查阅和解决。 ![image](https://user-images.githubusercontent.com/77844710/182136496-e723fcb9-128d-4336-b162-61d1761bc080.png)

```sh $ ./mydocker run -d --name mynginx nginx top -b ``` 书中使用了这样的命令去启动nginx容器,这里一开始我也默认容器内会有top命令,然后就启动过后使用`ps -ef | grep "pid"`找不到这个容器进程,没有任何报错日志,我一直怀疑是我2c2g的阿里云内存不足,被强制kill了(因为之前有这个情况出现),所以就一直往这方面想。最后我进入docker容器里才发现没有top这个命令(其实./mydocker logs也打印出“exec: \"top\": executable file not found in $PATH”不过我没发现) ```sh $ docker exec -it b1dc8cf0002a...