ID NAME MODE REPLICAS IMAGE PORTS
vmbwe8qbz6fs captain-captain replicated 1/1 caprover/caprover:1.10.1
pztfc2hbab04 captain-certbot replicated 1/1 caprover/certbot-sleeping:v1.6.0
tbqh5whas5c9 captain-nginx replicated 1/1 nginx:1
/captain-certbot.1.gin6h6r2fcjxl9x8400cwrj60
/captain-nginx.1.k631cgcc5tirehgme3yqxa2ns
/captain-captain.1.szyq7ms42v2rqrewon2l2tpys
/captain-certbot.1.y1mdf77t0okgow8g12u4l28x2
MACHINE:/home/USER# cd /etc/docker | ls
MACHINE:/home/USER# cd /etc/docker
MACHINE:/etc/docker# ls
MACHINE:/etc/docker# docker stop $(docker ps -a -q)
75ffda5fe9a5
d8eb686960e7
0cbe70647e88
d499bbde6baf
MACHINE:/etc/docker# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
87a34c9b0c20 caprover/caprover:1.10.1 "docker-entrypoint.s…" 4 seconds ago Created captain-captain.1.zjrqoykiw8mlsomydvfjgeasc
3d5b1bc8966d caprover/certbot-sleeping:v1.6.0 "/bin/sh -c 'sleep 9…" 5 seconds ago Up Less than a second 80/tcp, 443/tcp captain-certbot.1.egjfdoibafev3fiphjcdw61kw
c28933f15f7a nginx:1 "/docker-entrypoint.…" 15 seconds ago Up 10 seconds 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp captain-nginx.1.tbqp4ijdec8ssl5mvzwvgb294
75ffda5fe9a5 caprover/certbot-sleeping:v1.6.0 "/bin/sh -c 'sleep 9…" 5 minutes ago Exited (137) 7 seconds ago captain-certbot.1.my9uwnma6g25i89jli3wz4hri
d8eb686960e7 nginx:1 "/docker-entrypoint.…" 5 minutes ago Exited (0) 17 seconds ago captain-nginx.1.jbj1fpk86362gjmlva7a4l2ju
0cbe70647e88 caprover/caprover:1.10.1 "docker-entrypoint.s…" 5 minutes ago Exited (137) 7 seconds ago captain-captain.1.qonroe7ylcuww1jfc89v2vo79
d499bbde6baf caprover/certbot-sleeping:v1.6.0 "/bin/sh -c 'sleep 9…" 5 minutes ago Exited (137) 5 minutes ago captain-certbot.1.vyhlp8yxkia51a7beacsox4e1
MACHINE:/etc/docker# docker inspect -f '{{ .Name }} {{ .HostConfig.RestartPolicy.Name }}' $(docker ps -aq)
/captain-certbot.1.jm03vkn4z3fwmdfb17pwi5gpp
/captain-nginx.1.c29ffbhuymv9yb6aec1jrxg39
/captain-captain.1.zjrqoykiw8mlsomydvfjgeasc
/captain-certbot.1.egjfdoibafev3fiphjcdw61kw
MACHINE:/etc/docker# docker update --restart=no $(docker ps -q)
be7580f00dd7
9be1f599453d
87a34c9b0c20
MACHINE:/etc/docker# docker stop $(docker ps -a -q)
be7580f00dd7
9be1f599453d
87a34c9b0c20
3d5b1bc8966d
MACHINE:/etc/docker# docker ps -ф
unknown shorthand flag: 'Ñ' in -ф
See 'docker ps --help'.
MACHINE:/etc/docker# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS
PORTS NAMES
f78cc657b1ee caprover/caprover:1.10.1 "docker-entrypoint.s…" 6 seconds ago Up 1 second
0.0.0.0:3000->3000/tcp, :::3000->3000/tcp captain-captain.1.felgbkiq4ug19jhdliqypkdjsc670e58c94ce caprover/certbot-sleeping:v1.6.0 "/bin/sh -c 'sleep 9…" 6 seconds ago Up 2 seconds
80/tcp, 443/tcp captain-certbot.1.pmiktdtsx6cpv3rd1a14rl3qe0d765b847f9c nginx:1 "/docker-entrypoint.…" 17 seconds ago Up 12 seconds
0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp captain-nginx.1.x2ofzg3xc4zi3zql85rqap6i1
be7580f00dd7 caprover/certbot-sleeping:v1.6.0 "/bin/sh -c 'sleep 9…" 11 minutes ago Exited (137) 9 seconds ago captain-certbot.1.jm03vkn4z3fwmdfb17pwi5gpp9be1f599453d nginx:1 "/docker-entrypoint.…" 11 minutes ago Exited (0) 19 seconds ago captain-nginx.1.c29ffbhuymv9yb6aec1jrxg39
87a34c9b0c20 caprover/caprover:1.10.1 "docker-entrypoint.s…" 11 minutes ago Exited (137) 9 seconds ago captain-captain.1.zjrqoykiw8mlsomydvfjgeasc3d5b1bc8966d caprover/certbot-sleeping:v1.6.0 "/bin/sh -c 'sleep 9…" 11 minutes ago Exited (137) 11 minutes ago captain-certbot.1.egjfdoibafev3fiphjcdw61kwMACHINE:/etc/docker# docker stop $(docker ps -q)
2a467a948ab5
7be61f396b69
f78cc657b1ee
MACHINE:/etc/docker# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
bbdff8918dff caprover/caprover:1.10.1 "docker-entrypoint.s…" 1 second ago Created captain-captain.1.szyq7ms42v2rqrewon2l2tpys
0f9ce4987bd7 caprover/certbot-sleeping:v1.6.0 "/bin/sh -c 'sleep 9…" 2 seconds ago Created captain-certbot.1.y1mdf77t0okgow8g12u4l28x2
bda69c3ce131 nginx:1 "/docker-entrypoint.…" 12 seconds ago Up 8 seconds
0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp captain-nginx.1.z8j6a69qho08131wmjrb124h5
2a467a948ab5 caprover/certbot-sleeping:v1.6.0 "/bin/sh -c 'sleep 9…" About a minute ago Exited (137) 5 seconds ago captain-certbot.1.ykalq2fcuj3mmks0ep2q0jp19
7be61f396b69 nginx:1 "/docker-entrypoint.…" 2 minutes ago Exited (0) 15 seconds ago captain-nginx.1.mhvzsazhyrcioo3mjcob0z8xd
f78cc657b1ee caprover/caprover:1.10.1 "docker-entrypoint.s…" 2 minutes ago Exited (137) 5 seconds ago captain-captain.1.felgbkiq4ug19jhdliqypkdjs
c670e58c94ce caprover/certbot-sleeping:v1.6.0 "/bin/sh -c 'sleep 9…" 2 minutes ago Exited (137) About a minute ago captain-certbot.1.pmiktdtsx6cpv3rd1a14rl3qe
https://stackoverflow.com/questions/12172188/ssh-s...