agent icon indicating copy to clipboard operation
agent copied to clipboard

Adding ENV to use socket proxy

Open sando38 opened this issue 3 years ago • 2 comments

It would be nice to also configure the agent to use a socket proxy like the main app can:

Swarmpits behavior can be reconfigured via Environment Variables. SWARMPIT_DOCKER_SOCK

Docker SOCK location used by docker client. In case of socket proxy use following format: http://TCPENDPOINT:2375. Default is /var/run/docker.sock.

Thanks in advance, also for any hints, ideas, considersations in the meantime :)

sando38 avatar Sep 28 '21 07:09 sando38

Bump. Can someone on the swarmpit team point us in the right direction for a PR?

kaysond avatar Dec 04 '21 07:12 kaysond

Looks like you might be able to do it just by setting the DOCKER_HOST env var

kaysond avatar Dec 04 '21 08:12 kaysond