docker exec cp command code example Example: docker exec bash //For executing commands in the container docker exec -it bash