sajad torkamani
docker container run --rm <image>

This will spin up a container based on <image>, run its default command and then remove the container when the command terminates.

Tagged: Docker

Leave a comment

Your email address will not be published. Required fields are marked *