Path: content/Tips/Docker/default.md
== Run bash in running container
Run this to get container IDs:
docker ps
Then run this to execute a shell inside the running container:
docker exec -it containerid bash
Last updated : 14 November 2024
Path: content/Tips/Docker/default.md
== Run bash in running container
Run this to get container IDs:
docker ps
Then run this to execute a shell inside the running container:
docker exec -it containerid bash
Last updated : 14 November 2024