filmov
tv
Running Docker Containers as a Non-root User with a Custom UID / GID
![preview_player](https://i.ytimg.com/vi/sXfaogNlc7Y/maxresdefault.jpg)
Показать описание
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
---------------------------------------------------
COURSES
---------------------------------------------------
Courses I've created that focus on web dev and deployment topics.
THE TOOLS I USE / GEAR
---------------------------------------------------
FOLLOW ME ELSEWHERE
---------------------------------------------------
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
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?
Hit the subscribe button to receive more videos like this!
REFERENCE LINKS
---------------------------------------------------
COURSES
---------------------------------------------------
Courses I've created that focus on web dev and deployment topics.
THE TOOLS I USE / GEAR
---------------------------------------------------
FOLLOW ME ELSEWHERE
---------------------------------------------------
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
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?
Комментарии