docker run example
Example 1: docker run name
docker run --name <container name> -dp <local port>:<container port> <image>
Example 2: docker run command on container
sudo docker exec -it <container name> <command>
Example 3: docker run example
$ docker run -p 127.0.0.1:80:8080/tcp ubuntu bash
Example 4: - d in docker
docker run -d <image name>
# -d is used for detached mode