File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,26 @@ docker run \
106106 docker.io/library/alpine
107107```
108108
109+ ## Using a proxy
110+
111+ To use a proxy, set the standard ` http_proxy ` and ` https_proxy ` variables when running the container.
112+
113+ Example:
114+
115+ ```
116+ docker run --rm \
117+ -e http_proxy="http://my-proxy:3128" \
118+ -e https_proxy="http://my-proxy:3128" \
119+ quay.io/sysdig/secure-inline-scan:2 \
120+ --sysdig-url <omitted> \
121+ --sysdig-token <omitted> \
122+ alpine
123+ ```
124+
125+ Both ` http_proxy ` and ` https_proxy ` variables are required, as some tools will use per-scheme proxy.
126+
127+ The ` no_proxy ` variable can be used to define a list of hosts that don't use the proxy.
128+
109129# Other integrations and examples
110130
111131In this [ repository] ( https://github.com/sysdiglabs/secure-inline-scan-examples/ ) you can find the following examples in alphabetical order:
You can’t perform that action at this time.
0 commit comments