docs icon indicating copy to clipboard operation
docs copied to clipboard

Add sudo -E flag to curl command for proxy support

Open Wenzel opened this issue 2 months ago • 2 comments

Description

The curl command needs the -E flag with sudo to preserve environment variables, particularly HTTP_PROXY and HTTPS_PROXY settings. Without this flag, users behind corporate proxies cannot download Docker's GPG key.

Wenzel avatar Oct 24 '25 14:10 Wenzel

Deploy Preview for docsdocker ready!

Name Link
Latest commit 95f4af989b867f9d9b3ac44bb93c92617c4dfc7b
Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/68fb8f6ea0fe960008a98e02
Deploy Preview https://deploy-preview-23604--docsdocker.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Oct 24 '25 14:10 netlify[bot]

Recent Ubuntu switched to sudo-rs which doesn't support -E option. I think Debian will also adopt sudo-rs because the team said that Rust is now a hard dependency of Debian project.

hongquan avatar Nov 26 '25 08:11 hongquan