This application bind and listen local ports and proxy connections to remote docker host with associated docker containers
Connect to remote docker (wia context or manual --host
/ env DOCKER_HOST
), getting containers with published tcp ports and proxy requests from localhost to remote docker host.
Supported OS:
- Macos
- Linux
- Windows (needed cli docker.exe)
- Install python 3.8 (minimal version)
- Install requirements (
pip install -r requirements.txt
) - Set docker host:
- Configure via cli:
docker context
- Configure via env variable:
export DOCKER_HOST="ssh://user@remote-docker"
- Run with args
--host "ssh://user@remote-docker"
- Configure via cli:
- If needed listen privileged ports ( < 1024), add arg
--listen-system-ports
- If you want to interact via docker cli, add arg
--use-docker-cli
- Run:
python src/main.py