vjuranek / docker-build-step-plugin

Other
8 stars 97 forks source link

Remove options on container started from images #18

Closed dieend closed 9 years ago

dieend commented 9 years ago

How does container started from images works? Is it possible to use --rm options? something like:

docker run --rm images/name

https://docs.docker.com/reference/commandline/cli/#run

vjuranek commented 9 years ago

Hi, plugin uses Docker REST API and if I'm not mistaken, this is currently provided neither by Create container cmd not start container cmd. I.e. use --rm option is currently not possible.