docs
docs copied to clipboard
Add sudo -E flag to curl command for proxy support
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.
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...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify project configuration.
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.