Skip to main content

Docker

docker run

docker run --rm -it --entrypoint /bin/bash <container-image-id>

docker exec

docker exec -it <container-id or conrtiner-name> /bin/bash
docker exec -it <container-id or container-name> bash