Documentation for version v0.31.0 is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.
Proxy
Using Proxy ¶
When using imgpkg
to connect with a registry via a proxy you will need to provide one of following environment variables
HTTP_PROXY
orhttp_proxy
when using the flag--registry-insecure
HTTPS_PROXY
orhttps_proxy
when the communication with the registry need to be using TLS
No TLS example ¶
Assuming the proxy to access the registry is located in http://proxy.company.com
When executing imgpkg
do the following:
export http_proxy=http://proxy.company.com
imgpkg pull -b registry.company.com/my-image@sha256:265d4a5ed8bf0df27d1107edb00b70e658ee9aa5acb3f37336c5a17db634481e -o folder --registry-insecure
TLS example ¶
Assuming the proxy to access the registry is located in https://proxy.company.com
When executing imgpkg
do the following:
export https_proxy=https://proxy.company.com
imgpkg pull -b registry.company.com/my-image@sha256:265d4a5ed8bf0df27d1107edb00b70e658ee9aa5acb3f37336c5a17db634481e -o folder
(Help improve our docs: edit this page on GitHub)