skip to Main Content

nobody & nonroot user in distroless images – Docker

Distroless images comes with 3 users : > docker run --rm --entrypoint cat gcr.io/distroless/nodejs:debug /etc/passwd root:x:0:0:root:/root:/sbin/nologin nobody:x:65534:65534:nobody:/nonexistent:/sbin/nologin nonroot:x:65532:65532:nonroot:/home/nonroot:/sbin/nologin If you run the image without a USER instruction in your Dockerfile the image runs as uid=0(root) gid=0(root). I would like to…

VIEW QUESTION

Docker sync volumes

So... I trying start learning Docker. But I can't sync the host and the container using volumes on change and save code (using the npm run dev). All the time I have to restart the docker-compose up --build to the…

VIEW QUESTION
Back To Top
Search