Comments (1)
I'm hardly an expert, but I think that is only for testing/showing the proxy is running and denying/allowing requests as configured.
By default, it appears the daemon listens to a unix socket. (See documentation.) The client (docker
in the normal case) uses this to communicate with the daemon. However, the client also checks for an environment variable called DOCKER_HOST
and will instead use that address to talk to the daemon.
So basically, that command points docker
(the client) to the running proxy, instead of the running dockerd
. Thus new commands go through the proxy and may be denied.
As for changing things on your system, export
ed things are gone when the shell is closed. So unless you place that in your profile or something, it won't last. Or you can unset
it to be extra sure.
from docker-socket-proxy.
Related Issues (20)
- ALLOW_RESTARTS doesn't work HOT 2
- podman failure due to strong regex filter (pull request attached)
- Feature request: Allow starting, stopping and restarting of containers (but not other POST commands)
- Feature request: Bind to IPv4 and IPv6 in haproxy HOT 3
- cannot create listening socket [:::2375] after #108 HOT 24
- exec / any other methods open when POST is set to 1 and how is DELETE handled ? HOT 1
- Update documentation/tags to make docker-socket-proxy more secure for novice users HOT 4
- The latest version of Traefik (3.0) wants swarm's websocket can this support that on TCP 2377 HOT 3
- Docker v26 support (TLS mandatory now) HOT 11
- Can't run as read_only any more
- Warning in log since latest update HOT 5
- versions newer than 0.1.1 fail to start with ipv6 disabled on host HOT 3
- Since update to 0.1.2, services sporadically returning a `404 page not found` in plain text HOT 8
- [ALERT] 119/204037 (1) : Starting frontend dockerfrontend: cannot create listening socket [:::2375] HOT 5
- ARM support HOT 2
- Upgrade to v0.2.0 breaks 'docker exec', yielding 'unable to upgrade to tcp, received 200' messages HOT 7
- Could I to use the docker-socket-proxy with a password to tcp? HOT 1
- 0.2.0 fails to start: [haproxy.main()] Cannot raise FD limit to 8094, limit is 1024 HOT 11
- Error accessing proxy from traefik HOT 1
- macvlan? HOT 1
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 docker-socket-proxy.