(Closed) Ever-running container
4 months ago by
docker run -v $(pwd):/home/fenics/shared -ti --name <conatiner name> <image name> /bin/bashto create a container and I expect it to be keep running even after I turn off and on my computer, however it does not, after I turn off my computer and turn on again I simply do not see the container when I do
docker psbut it is rather listed under
docker ps -aas a not-running container.
I have also tried
docker run -v $(pwd):/home/fenics/shared -ti -d --name <conatiner name> <image name> /bin/bashbut it did not work either, anyone knows what should I do for the container not to stop running when I turn off my computer?
Community: FEniCS Project
Please login to add an answer/comment or follow this question.
The thread is closed. No new answer/comment may be added.