Comments (2)
Maybe is a docker error?
https://forums.docker.com/t/prevent-docker-from-passing-proxy-to-container/92718
from mailcow-dockerized.
Seems like some things will never change... For example, the Sun will always rise in the east and set in the west. The Moon will always wax and wane. And Docker doesn't know what to do with proxies. But if we take a closer look you made it pretty sure to use that proxy:
-
The proxy variables will be passed to the container's env. because of the content of your
~/.docker/config.json
There is no need for that if you don't want the running container itself to use that forward proxy. -
If you want to use the forward proxy for pulling the container images, the systemd service override should be enough. If I were you I would modify that dirty script somehow like:
sudo EDITOR=tee systemctl edit docker.service << 'EOF'
[Service]
Environment="HTTP_PROXY=http://myproxy:8080"
Environment="HTTPS_PROXY=http://myproxy:8080"
Environment="NO_PROXY=192.168.0.0/16,172.16.0.0/16,127.0.0.0/8,10.0.0.0/8,172.22.1.0/24"
EOF
This way you don't need to create the drop-in folder and neither reload systemd. (But it's still... not so nice)
If you don't believe me, check it by yourself with sg. like
docker run --rm -it alpine:latest env
with and without your configs.
docs: https://docs.docker.com/network/proxy/
IMHO it's not a mailcow related issue and I would close it. But don't give up and I wish good luck to you!
from mailcow-dockerized.
Related Issues (20)
- IP flag lookup should be configurable (and probably opt-in)
- Add additional fields in existing tables, add additional tables and Integrating the additional fields in mailcow webadmin for mailbox
- Project dead? HOT 5
- Adding a domain wide footer leads to broken attachments
- SPAM_TRAP makes spam delivered to other recipients HOT 1
- Mailcow allows sender spoofing HOT 12
- netfilter Address family not supported by protocol HOT 6
- Enable vacation auto reply in SoGo will not append domain wide signature
- [Nightly] Admin with TFA blank page
- ImapSync sync out to other IMAP server HOT 2
- postfix container keeps terminating HOT 2
- Neue Passworteingabe beim nächsten Einloggen.
- Mailcow Hybrid setup ACME domains request certificate
- OIDC: allow admins to to log in via SSO
- Customizeing the UIxPreferences.wox Template to default write Plaintext Emails.
- dovecot high CPU usage when searching HOT 1
- Docker v27: Native IPv6 NAT implementation no longer experimental HOT 1
- Update from 2024/04 to 2024/06 killed Mailcow, showing "What is happening" page HOT 48
- Mailcow admin ui (/debug) empty after update HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mailcow-dockerized.