Wait container's removal via Events API
If AutoRemove is set, wait until client get `destroy` events, or get
`detach` events that implies container is detached but not stopped.
@@ -468,7 +468,9 @@ its root filesystem mounted as read only prohibiting any writes.
Restart policy to apply when a container exits (no, on-failure[:max-retry], always, unless-stopped).
**--rm**=*true*|*false*
- Automatically remove the container when it exits (incompatible with -d). The default is *false*.
+ Automatically remove the container when it exits. The default is *false*.
+ `--rm` flag can work together with `-d`, and auto-removal will be done on daemon side. Note that it's
+incompatible with any restart policy other than `none`.
**--security-opt**=[]
Security Options
