[root@localhost ~]# docker ps -a
CONTAINER ID   IMAGE         COMMAND              CREATED       STATUS                   PORTS                               NAMES
a629508cfe3e   httpd         "httpd-foreground"   2 hours ago   Up 2 hours               80/tcp                              elastic_lederberg
94eb9f15fa12   httpd         "httpd-foreground"   2 hours ago   Up 2 hours               0.0.0.0:81->80/tcp, :::81->80/tcp   angry_merkle
b05697f3d130   httpd         "httpd-foreground"   2 hours ago   Up 2 hours               0.0.0.0:80->80/tcp, :::80->80/tcp   vigilant_jepsen
d8c997ec449e   httpd         "httpd-foreground"   2 hours ago   Up 2 hours               80/tcp                              xenodochial_lederberg
b32155889703   httpd         "httpd-foreground"   3 hours ago   Created                                                      vj2
d9362521b23b   httpd         "httpd-foreground"   3 hours ago   Created                                                      agitated_jackson
b14acb2bfc36   hello-world   "/hello"             6 hours ago   Exited (0) 6 hours ago                                       awesome_zhukovsky
693a7fc72262   hello-world   "/hello"             6 hours ago   Exited (0) 6 hours ago                                       quirky_wiles
[root@localhost ~]#  docker update --restart=on-failure:3 b32155889703 vj2
b32155889703
vj2
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)