run container and rm code example Example: run container and rm docker run -it --rm ... docker container run -it --rm ...