- Get the container's name (this is different from
tagorid)
docker ps- Run the command
docker exec -it NAME_OF_CONTAINER sh- ???
- Profit
Bonus: To get the content of a file in shell, use cat NAME_OF_YOUR_FILE.
tag or id)docker psdocker exec -it NAME_OF_CONTAINER shBonus: To get the content of a file in shell, use cat NAME_OF_YOUR_FILE.