docker exec -it and start command code example Example: docker exec sudo docker exec --user root -it containerName /bin/bash