how to run a command line in docker code example Example: docker run command on container sudo docker exec -it <container name> <command>