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 ?