[root@linux-node1 cfg]# docker ps ······ ······ CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES a007c18b8dc0568c4670fa80"nginx -g 'daemon of…"42 hours ago Up 42 hours k8s_nginx_nginx-pod-7d9f9876cc-75sf7_default_a688bb46-f872-11e8-ae6b-000c29c6d12b_1 9866c08d1f4b 568c4670fa80"nginx -g 'daemon of…"42 hours ago Up 42 hours k8s_nginx_nginx-pod-7d9f9876cc-wpv4h_default_a6a899c0-f872-11e8-ae6b-000c29c6d12b_1 aafef6727026 mirrorgooglecontainers/pause-amd64:3.0"/pause"42 hours ago Up 42 hours k8s_POD_flask-app-6f5b6cc447-kbxks_flask-app-extions-stage_374b8aa0-f873-11e8-ae6b-000c29c6d12b_1 c4f48f90b27f mirrorgooglecontainers/pause-amd64:3.0"/pause"42 hours ago Up 42 hours k8s_POD_flask-app-6f5b6cc447-f9wjn_flask-app-extions-stage_373be9db-f873-11e8-ae6b-000c29c6d12b_1 9f452e6961f6 mirrorgooglecontainers/pause-amd64:3.0"/pause"42 hours ago Up 42 hours k8s_POD_nginx-pod-7d9f9876cc-ccx94_default_a6a8c440-f872-11e8-ae6b-000c29c6d12b_1 7e68043469d1 mirrorgooglecontainers/pause-amd64:3.0"/pause"42 hours ago Up 42 hours k8s_POD_nginx-pod-7d9f9876cc-sskpk_default_a6ac43bd-f872-11e8-ae6b-000c29c6d12b_1 ······ ······
# 查看结果: [root@k8s-node1 ~]# docker ps | grep -E "pause|nginx|ghost" 9b796efd95a5 ghost "docker-entrypoint..."47 seconds ago Up 46 seconds ghost fa078473c01e nginx "nginx -g 'daemon ..." About a minute ago Up About a minute nginx 38d2aa8366d5 registry.cn-hangzhou.aliyuncs.com/google_containers/pause-amd64:3.1"/pause"3 minutes ago Up 3 minutes 0.0.0.0:8880->80/tcp pause [root@k8s-node1 ~]#