Docker commands
inspect image directory structure
- Replace
ENTRYPOINT
/CMD
command withENTRYPOINT ["sleep", "3600"]
- Build image
- Start container, get the container-id and exec
shell
/bash
docker build . -f dev.Dockerfile -t test docker run test:latest docker container ls docker exec -it 12c23fad6baf sh # or bash