https://github.com/pcpratheesh/docker-with-non-root-user-sample
A sample code snippet for demostrating docker with non root user access
https://github.com/pcpratheesh/docker-with-non-root-user-sample
Last synced: 3 months ago
JSON representation
A sample code snippet for demostrating docker with non root user access
- Host: GitHub
- URL: https://github.com/pcpratheesh/docker-with-non-root-user-sample
- Owner: pcpratheesh
- License: mit
- Created: 2023-04-10T09:48:07.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-10T13:35:05.000Z (about 3 years ago)
- Last Synced: 2025-09-14T13:41:24.815Z (10 months ago)
- Language: Dockerfile
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-with-non-root-user-sample
A sample code snippet for demostrating docker with non root user access
## Run the container
docker build -t docker-with-non-root .
docker run -p 8080:8080 docker-with-non-root
docker run -p 8080:8080 --user non_root_user:non_root_user docker-with-non-root