docker start container and enter bash code example Example 1: docker run command on container sudo docker exec -it Example 2: docker how to run existing container docker start