What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-25 02:25:02
docker proxy
# Create a drop-in mkdir /etc/systemd/system/docker.service.d # Put this in there (only up until the ##): [Service] Environment="HTTP_PROXY=http://user01:[email protected]:8080/" Environment="HTTPS_PROXY=https://user01:[email protected]... Add solution -
Other 2021-09-09 19:36:03
using docker behind proxy
# Create a drop-in mkdir /etc/systemd/system/docker.service.d # Put this in there (only up until the ##): [Service] Environment="HTTP_PROXY=http://user01:[email protected]:8080/" Environment="HTTPS_PROXY=https://user01:[email protected]... Add solution -
-
Shell/Bash 2021-08-30 03:08:02
how to expose docker api over tcp
## Use the command sudo systemctl edit docker.service ## to open an override file for docker.service in a text editor and ## add below lines(this is for testing purpose only, ##while PROD access or expose Docker api through tls or a proxy) $ sudo systemc... Add solution