-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sytemd Proxy not apply #230
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tldr;
If proxy is provide to pillar the formula should create a file in
/etc/systemd/system/docker.service.d
with content
=====
Hello,
It seems that if the system is using systemd and if we provide proxy var to the pillar the proxy conf is not applied as docker configuration said :
https://docs.docker.com/config/daemon/systemd/
You cannot configure these environment variables using the daemon.json file.
If you are behind an HTTP or HTTPS proxy server, for example in corporate settings, you need to add this configuration in the Docker systemd service file.
For now, the workarround is to have another state to file.managed the systemd file. but it could be great to insert it to the formula.
Should produce
The text was updated successfully, but these errors were encountered: