Open soucosmo opened 3 months ago
I need to create the container and start it right away, and when the internal task is finished executing, the container should be automatically deleted, I get this behavior using docker run --rm.
docker run --rm
There should be an "autoremove" field on the HostConfig that you provide when creating the container.
I need to create the container and start it right away, and when the internal task is finished executing, the container should be automatically deleted, I get this behavior using
docker run --rm
.