f0b405fbda
Now `docker run -p` ports can be exposed to the host namespace automatically when `dockerd-rootless.sh` is launched with
`--userland-proxy --userland-proxy-path $(which rootlesskit-docker-proxy)`.
This is akin to how Docker for Mac/Win works with `--userland-proxy-path=/path/to/vpnkit-expose-port`.
The port number on the host namespace needs to be set to >= 1024.
SCTP ports are currently unsupported.
RootlessKit changes: 7bbbc48a6f...ed26714429
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
13 lines
513 B
Bash
13 lines
513 B
Bash
#!/usr/bin/env bash
|
|
|
|
DOCKER_DAEMON_BINARY_NAME='dockerd'
|
|
DOCKER_RUNC_BINARY_NAME='runc'
|
|
DOCKER_CONTAINERD_BINARY_NAME='containerd'
|
|
DOCKER_CONTAINERD_CTR_BINARY_NAME='ctr'
|
|
DOCKER_CONTAINERD_SHIM_BINARY_NAME='containerd-shim'
|
|
DOCKER_PROXY_BINARY_NAME='docker-proxy'
|
|
DOCKER_INIT_BINARY_NAME='docker-init'
|
|
DOCKER_ROOTLESSKIT_BINARY_NAME='rootlesskit'
|
|
DOCKER_ROOTLESSKIT_DOCKER_PROXY_BINARY_NAME='rootlesskit-docker-proxy'
|
|
DOCKER_VPNKIT_BINARY_NAME='vpnkit'
|
|
DOCKER_DAEMON_ROOTLESS_SH_BINARY_NAME='dockerd-rootless.sh'
|