pcpratheesh / docker-with-non-root-user-sample

A sample code snippet for demostrating docker with non root user access

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A sample code snippet for demostrating docker with non root user access

License:MIT License


Languages

Language:Dockerfile 58.8%Language:Go 41.2%