docker run an image code example
Example 1: docker run image
docker run <image id> --name 'container name'
Example 2: docker run command on container
sudo docker exec -it <container name> <command>
Example 3: start a docker container
$ docker start <container_id>