how to run the docker image code example Example 1: docker run command on container sudo docker exec -it Example 2: start docker image docker start centos