docker create a container and run a command code example Example: docker run command on container sudo docker exec -it <container name> <command>