As per the Docker docs for Docker run - https://docs.docker.com/engine/reference/run/ In the section clean up, it is mentioned that - *to automatically clean up the container and remove the file system when the container exits, you can add the --rm flag*
But i can't see any option in Ansible's docker module to specify this. How can do this in Ansible ? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/56a49e5d-ccf3-4927-a1cc-67ae03c74244%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
