docker exec to container as root code example Example: docker exec bash //For executing commands in the container docker exec -it bash