docker container run --rm code example
Example 1: docker run name
docker run --name <container name> -dp <local port>:<container port> <image>
Example 2: run container and rm
docker run -it --rm ...
docker container run -it --rm ...
docker run --name <container name> -dp <local port>:<container port> <image>
docker run -it --rm ...
docker container run -it --rm ...