Running Docker Containers as a Non-root User with a Custom UID / GID

Описание к видео Running Docker Containers as a Non-root User with a Custom UID / GID

For volumes it's important that your UID / GID on your Docker host matches what's in the container.

Hit the subscribe button to receive more videos like this!

REFERENCE LINKS
---------------------------------------------------
► https://github.com/nickjj/docker-flas...
► https://github.com/nickjj?tab=reposit... (other example apps)
► https://nickjanetakis.com/blog/runnin...

COURSES
---------------------------------------------------
Courses I've created that focus on web dev and deployment topics.

► https://nickjanetakis.com/courses/

THE TOOLS I USE / GEAR
---------------------------------------------------
► https://nickjanetakis.com/blog/the-to...

FOLLOW ME ELSEWHERE
---------------------------------------------------
► Twitter:   / nickjanetakis  
► GitHub: https://github.com/nickjj

TIMESTAMPS
---------------------------------------------------
0:00 -- Intro
0:07 -- Why is this important when using Docker volumes?
1:19 -- Starting the project to see what we're working with
2:13 -- What if your uid/gid isn't 1000? Demo'ing the problem
5:00 -- Setting build args for UID / GID and assigning them to a group and user
9:14 -- Passing in the build args from the docker-compose.yml file
10:33 -- Checking out the new env vars in the .env file
12:29 -- Changing the UID and GID env vars for our other user to fix the issue
14:55 -- Updating a file to make sure volumes are working
15:26 -- How would you have solved this problem?

Комментарии

Информация по комментариям в разработке