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