Container restart policy
Is it possible to run a container only once? After the job is done, the container restarts again, and I have to catch it to terminate, which is not the desired behavior. I need some kind of docker restart policy 'no'
1 Reply
in your cmd, run sleep infinity command
sleep infinity
or any program that busy waits (runs all the time) like web server