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
@@ -175,6 +176,12 @@ By default the shell user will be the user from the USER directive in the Docker
175
176
If you whish to override this you can specify `SHELL_USER` as an environment variable
176
177
to Docker-SSH. **Note: This user MUST already exist in the container, otherwise Docker-SSH will fail.**
177
178
179
+
# Docker Filter
180
+
Docker-SSH uses the filter argument of `docker ps` to target a specific container. You should make sure
181
+
that the filter matches the intended target container. If the filter matches multiple containers, the first
182
+
one will be used. See [https://docs.docker.com/engine/api/v1.33/#operation/ContainerList](https://docs.docker.com/engine/api/v1.33/#operation/ContainerList). For backwards compatibility the `CONTAINER`
183
+
environment variable passed to Docker-SSH is now implemented as a filter on container name.
184
+
178
185
# Server Identity and Security
179
186
The SSH server needs an RSA/EC private key in order to secure the connection and identify itself to clients.
180
187
The Docker-SSH container comes with a default RSA key that will be used. If you want, you can provide your own
@@ -188,7 +195,8 @@ argument in order to know for which container to provide SSH. Mounting the Docke
0 commit comments