run a command in a docker container code example Example 1: docker run command on container sudo docker exec -it Example 2: docker how to run existing container docker start