Docker Hub
hub.docker.com › r › p3terxSet the mount directory file permissions Enter the id command to check UID and GID $ id uid=1001 (p3terx) gid=1002 (p3terx) Modify the UID and GID docker exec openwrt-build-env sudo usermod -u 1001 user docker exec openwrt-build-env sudo... Modify the file ownership docker exec openwrt-build-env ...
Docker Hub
https://hub.docker.com/r/p3terx/openwrt-build-envEnter the id command to check UID and GID. $ id uid=1001 (p3terx) gid=1002 (p3terx) Modify the UID and GID. docker exec openwrt-build-env sudo usermod -u 1001 user docker exec openwrt-build-env sudo groupmod -g 1002 user. Modify the file ownership. docker exec openwrt-build-env sudo chown -hR user:user . Restart container.