docker run local container interactive shell code example
Example 1: docker run name
docker run --name <container name> -dp <local port>:<container port> <image>
Example 2: docker run ubuntu container
docker run -it ubuntu
docker run --name <container name> -dp <local port>:<container port> <image>
docker run -it ubuntu