The official client image for openport.io.
Hosted on https://hub.docker.com/r/openportio/openport.
Code: https://github.com/openportio/openport-docker
For more info, visit https://openport.io
docker run -it \
--network host \
-e PORT=22 \
-e KEY_TOKEN=XXX \
-e KEY_NAME=my_key \
-v openport:/root/.openport/ \
openportio/openport:latestPORT (required): Port to share
KEY_TOKEN (optional, but adviced): Token to register your key to your account. See https://openport.io/user/keys
KEY_NAME (optional, but adviced): Name to give to your key (if using KEY_TOKEN).
EXTRA_OPTIONS (optional): give extra options to the openport command. See openport --help for more options.- This needs to run with
--network hostor this will not work. - Does not work on MacOS because localhost is not reachable from within the container.
- Mount a folder or volume on /root/.openport to reuse keys between restarts.