This repository provides the code accompanying the article: Troubleshooting Permission Issues when Building Docker Containers.
- Build the container image:
docker build . -t docker-permissions
- Run the application:
docker run IMAGE
- Start the container and keep it running:
docker run -d IMAGE tail -f /dev/null
- Launch Bash within the container:
docker exec -it CONTAINER /bin/bash