You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -33,7 +33,7 @@ You should know what you are doing. Never expose socket-proxy to a public networ
33
33
The container image is available on [Docker Hub (wollomatic/socket-proxy)](https://hub.docker.com/r/wollomatic/socket-proxy)
34
34
and on the [GitHub Container Registry (ghcr.io/wollomatic/socket-proxy)](https://github.com/wollomatic/socket-proxy/pkgs/container/socket-proxy).
35
35
36
-
To pin one specific version, use the version tag (for example, `wollomatic/socket-proxy:1.9.0` or `ghcr.io/wollomatic/socket-proxy:1.9.0`).
36
+
To pin one specific version, use the version tag (for example, `wollomatic/socket-proxy:1.10.0` or `ghcr.io/wollomatic/socket-proxy:1.10.0`).
37
37
To always use the most recent version, use the `1` tag (`wollomatic/socket-proxy:1` or `ghcr.io/wollomatic/socket-proxy:1`). This tag will be valid as long as there is no breaking change in the deployment.
38
38
39
39
There may be an additional docker image with the `testing`-tag. This image is only for testing. Likely, documentation for the `testing` image could only be found in the GitHub commit messages. It is not recommended to use the `testing` image in production.
@@ -59,6 +59,9 @@ This will also disable the TCP listener.
59
59
60
60
For example `-proxysocketendpoint=/tmp/filtered-socket.sock`
61
61
62
+
> [!NOTE]
63
+
> Versions prior to 1.10.0 of socket-proxy set the default file permissions of the Unix socket to 0400, instead of 0600 as stated in the documentation.
64
+
62
65
#### Setting up the IP address or hostname allowlist
63
66
64
67
Per default, only `127.0.0.1/32` is allowed to connect to socket-proxy. You may want to set another allowlist with the `-allowfrom` parameter, depending on your needs.
@@ -192,7 +195,7 @@ To log the API calls of the client application, set the log level to `DEBUG` and
192
195
193
196
### all parameters and environment variables
194
197
195
-
socket-proxy can be configured via command line parameters or via environment variables. If both command line parameter and environment variables are set, the environment variable will be ignored.
198
+
socket-proxy can be configured via command line parameters or via environment variables. If both command line parameters and environment variables are set, the environment variable will be ignored.
@@ -206,7 +209,7 @@ socket-proxy can be configured via command line parameters or via environment va
206
209
|`-shutdowngracetime`|`SP_SHUTDOWNGRACETIME`|`10`| Defines the time in seconds to wait before forcing the shutdown after sigtern or sigint (socket-proxy first tries to graceful shut down the TCP server) |
207
210
|`-socketpath`|`SP_SOCKETPATH`|`/var/run/docker.sock`| Specifies the UNIX socket path to connect to. By default, it connects to the Docker daemon socket. |
208
211
|`-stoponwatchdog`|`SP_STOPONWATCHDOG`| (not set/false) | If set, socket-proxy will be stopped if the watchdog detects that the unix socket is not available. |
209
-
|`-watchdoginterval`|`SP_WATCHDOGINTERVAL`|`0`| Check for socket availabibity every x seconds (disable checks, if not set or value is 0) |
212
+
|`-watchdoginterval`|`SP_WATCHDOGINTERVAL`|`0`| Check for socket availability every x seconds (disable checks, if not set or value is 0) |
210
213
|`-proxysocketendpoint`|`SP_PROXYSOCKETENDPOINT`| (not set) | Proxy to the given unix socket instead of a TCP port |
211
214
|`-proxysocketendpointfilemode`|`SP_PROXYSOCKETENDPOINTFILEMODE`|`0600`| Explicitly set the file mode for the filtered unix socket endpoint (only useful with `-proxysocketendpoint`) |
212
215
@@ -232,6 +235,8 @@ socket-proxy can be configured via command line parameters or via environment va
232
235
233
236
1.9 - add IPv6 support to `-listenip` (thanks [@op3](https://github.com/op3))
0 commit comments