http proxy for Docker is not set when HTTP Proxy is set in Network Global Configuration

Description

Some users in certain regions are experiencing network connectivity issues when executing Docker pull operations, often needing to set up proxies as a workaround. After migrating from Kubernetes to Docker on TrueNAS Scale, the HTTP Proxy settings configured under Network —> Global Configuration no longer apply to Docker.

My current solution involves manually configuring the Docker proxy by creating a file using the command sudo nano /etc/systemd/system/docker.service.d/http-proxy.conf and adding the following content:

To apply these changes, the daemon and Docker need to be restarted:

The drawback of this approach is that the settings reset after a TrueNAS restart, requiring manual reconfiguration. I would like to request this process to be automated and integrated into the middleware.

Problem/Justification

None

Impact

None

Activity

Show:

Bug Clerk March 13, 2025 at 4:38 PM

This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

Bug Clerk March 13, 2025 at 4:37 PM

Thank you for reporting this issue! This has already been reported (see the "Duplicate" ticket linked above), so this issue is being closed to focus effort in the existing ticket.

Bug Clerk March 11, 2025 at 1:15 PM

Thanks for your submission! This is in our queue to review now. An engineering representative will update with any further questions or details in the near future.

Bug Clerk March 11, 2025 at 5:35 AM

Thank you for submitting this TrueNAS Bug Report! So that we can quickly investigate your issue, please attach a Debug file and any other information related to this issue through our secure and private upload service below. Debug files can be generated in the UI by navigating to System -> Advanced -> Save Debug.

https://ixsystems.atlassian.net/servicedesk/customer/portal/15/group/37/create/153

Duplicate

Details

Assignee

Reporter

Labels

Components

Fix versions

Priority

More fields

Katalon Platform

Created March 11, 2025 at 5:30 AM
Updated March 13, 2025 at 4:38 PM
Resolved March 13, 2025 at 4:37 PM