When I run docker-run command as below:
docker run --rm -it -v ~/.mitmproxy:/home/mitmproxy/.mitmproxy -p 8080:8080 mitmproxy/mitmproxy
I got this error:
I use a non-root user to run this, but seems sudo is also not working.
BTW, the host ~/.mitmproxy is generated with mitmproxy command with ca files in it like below:
-rw-r--r--. 1 user user 1.3K Feb 3 14:06 mitmproxy-ca-cert.cer
-rw-r--r--. 1 user user 2.5K Feb 3 14:06 mitmproxy-ca-cert.p12
-rw-r--r--. 1 user user 1.3K Feb 3 14:06 mitmproxy-ca-cert.pem
-rw-r--r--. 1 user user 3.0K Feb 3 14:06 mitmproxy-ca.pem
-rw-r--r--. 1 user user 770 Feb 3 14:06 mitmproxy-dhparam.pem
When I run docker-run command as below:
docker run --rm -it -v ~/.mitmproxy:/home/mitmproxy/.mitmproxy -p 8080:8080 mitmproxy/mitmproxy
I got this error:I use a non-root user to run this, but seems sudo is also not working. BTW, the host ~/.mitmproxy is generated with mitmproxy command with ca files in it like below: