/ # ps -ef PID USER TIME COMMAND 1 root 0:00 nginx: master process nginx -g daemon off; 32 nginx 0:00 nginx: worker process 33 nginx 0:00 nginx: worker process 34 nginx 0:00 nginx: worker process 35 nginx 0:00 nginx: worker process 36 nginx 0:00 nginx: worker process 37 nginx 0:00 nginx: worker process 38 nginx 0:00 nginx: worker process 39 nginx 0:00 nginx: worker process 40 nginx 0:00 nginx: worker process 41 nginx 0:00 nginx: worker process 42 nginx 0:00 nginx: worker process 43 nginx 0:00 nginx: worker process 51 root 0:00 /bin/sh 60 root 0:00 ps -ef / # |
/ # uname -a Linux 9d86eb5cc5aa 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 Linux |
C:\Users\syant>docker image ls REPOSITORY TAG IMAGE ID CREATED SIZE docker/getting-started latest 26d80cd96d69 2 years ago 28.5MB C:\Users\syant>docker run -d -p 8090:80 docker/getting-started 9d86eb5cc5aa17a1315026f6f3f132702a8fd79f775ec6a79203e6def4c77728 C:\Users\syant>docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 9d86eb5cc5aa docker/getting-started "/docker-entrypoint.…" 7 minutes ago Up 7 minutes 0.0.0.0:8090->80/tcp jovial_bell C:\Users\syant>docker exec -it 9d86eb5cc5aa /bin/sh / # ls bin etc mnt run tmp dev home opt sbin usr docker-entrypoint.d lib proc srv var docker-entrypoint.sh media root sys / # |
Powered by Discuz! X3.2
© 2001-2013 Comsenz Inc.