New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker - usermod: group '1001' does not exist #6840
Labels
kind/triage
Unclassified issues
Comments
Any recommendation how to fix that? PRs are welcome. The code is here mitmproxy/release/docker/docker-entrypoint.sh Lines 15 to 18 in f05c050
mitmproxy/release/docker/Dockerfile Line 21 in f05c050
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem Description
Same issue as #6684 (closed)
If
.mitmproxy
is owned by a group that exists on the host but not in the docker image (like a secondary user), it will fail to run.Steps to reproduce the behavior:
$ adduser james
$ chown -R james:james ~/.mitmproxy
$ docker run --rm -it -v ~/.mitmproxy:/home/mitmproxy/.mitmproxy -p 8080:8080 mitmproxy/mitmproxy
Result:
usermod: group '1001' does not exist
System Information
Using mitmproxy/mitmproxy:latest, which currently is:
Mitmproxy: 10.3.0
Python: 3.11.9
OpenSSL: OpenSSL 3.2.1 30 Jan 2024
Platform: Linux-6.5.0-28-generic-x86_64-with-glibc2.31
The text was updated successfully, but these errors were encountered: