Trying to Learn Red Hat and Docker containers by creating a container that will allow me the ability to remotely access machines in my home lab. Everting was working great until I restarted. Now when I login use podman terminal commands to view all the containers created it returns nothing. Then I went to cockpit and see the container listed but it shows state exited, so I went to cockpit services turn on all the podman services, restarted Red Hat and no change it still show the container in a exited state.<\/p>\n
How can restart the container.<\/p>\n
@Red_Hat<\/a><\/p>\n @amy-red-hat<\/a><\/p>","upvoteCount":1,"answerCount":6,"datePublished":"2022-12-29T09:00:06.000Z","author":{"@type":"Person","name":"spiceuser-f5hwv","url":"https://community.spiceworks.com/u/spiceuser-f5hwv"},"suggestedAnswer":[{"@type":"Answer","text":" Trying to Learn Red Hat and Docker containers by creating a container that will allow me the ability to remotely access machines in my home lab. Everting was working great until I restarted. Now when I login use podman terminal commands to view all the containers created it returns nothing. Then I went to cockpit and see the container listed but it shows state exited, so I went to cockpit services turn on all the podman services, restarted Red Hat and no change it still show the container in a exited state.<\/p>\n How can restart the container.<\/p>\n @Red_Hat<\/a><\/p>\n @amy-red-hat<\/a><\/p>","upvoteCount":1,"datePublished":"2022-12-29T09:00:06.000Z","url":"https://community.spiceworks.com/t/docker-container-red-hat-linux-9/943115/1","author":{"@type":"Person","name":"spiceuser-f5hwv","url":"https://community.spiceworks.com/u/spiceuser-f5hwv"}},{"@type":"Answer","text":" Are you saying that the container host is not automatically restarting the container? Have you seen this article<\/a> ?<\/p>","upvoteCount":0,"datePublished":"2022-12-29T16:19:07.000Z","url":"https://community.spiceworks.com/t/docker-container-red-hat-linux-9/943115/2","author":{"@type":"Person","name":"jessevas","url":"https://community.spiceworks.com/u/jessevas"}},{"@type":"Answer","text":" Yes, when the host OS was shut down and then restarted the container stopped or went to an exited state.<\/p>\n I tried some of those commands but did the same thing. I’m not sure if it is podman commands I should be using or docker commands. However I do see the containers when using cockpit. I’m going to give the commands based on the article below a try.<\/p>\n