indigo-dc / udocker

A basic user tool to execute simple docker containers in batch or interactive systems without root privileges.
https://indigo-dc.github.io/udocker/
Apache License 2.0
1.38k stars 135 forks source link

How to run the container with proxy #418

Open engageub opened 9 months ago

engageub commented 9 months ago

Hi, I tried this tool recently and I was able to pull the image with option --httpproxy but I was unable to run it. Could you please let me know how to run the container with proxy.

Thank you

jorge-lip commented 8 months ago

udocker does not have support for proxy in the run command.

udocker pull --httpproxy=socks5://127.0.0.1:1337  ubuntu:22.04
udocker create --name=UB22  ubuntu:22.04
udocker run UB22