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