run command docker code example
Example 1: docker run name
docker run --name <container name> -dp <local port>:<container port> <image>
Example 2: run docker
docker run -d -p 80:80 docker/getting-started
Example 3: docker run command on container
sudo docker exec -it <container name> <command>
Example 4: start a docker container
$ docker start <container_id>
Example 5: docker how to run existing container
docker start <container-name/ID>