How can I start a XWiki Container with Proxy parameters

Hey folks,

I want to create a docker container for xwiki with a proxy connection. How can I set the proxy in the docker run command that XWiki can connect to the internet through the proxy?
Thanks for your help already!