docker-workflow-plugin
docker-workflow-plugin copied to clipboard
Remove anonymous volumes on stop
This PR makes the Docker Pipeline Plugin to remove any anonymous volumes on container stop by appending the "-v" flag on the "docker rm" command.
Some Dockerfiles that run on my pipelines have the VOLUME instruction, so those volumes are staying in the system if they are not defined during container invocation / stay anonymous.
Any updates here? It's annoying that plugin keeps anonymous volumes when container is removed..
Same question, this would be very helpful indeed.
Done by #286 I think.