docker run image with command 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: - d in docker
docker run -d <image name>
# -d is used for detached mode