Page History
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
#!/bin/sh
docker run -dit --rm \
...
--publish=16443:4443 \
--env="RUN_JS_HTTPS_PORT=4443" \
... |
Explanations:
--publish
The Agent image is prepared to accept HTTPS requests on port4443
. If the Agent is not operated in a Docker network then an outside port of the Docker host has to be mapped to the inside HTTPS port4443
. The same port has to be assigned theRUN_JS_HTTPS_PORT
environment variable.--env=RUN_JS_HTTPS_PORT
The port assigned this environment variable is the same as the outside HTTP inside HTTPS port specified with the--publish
option.
...
- When using HTTPS connections then consider to drop access to the HTTP port of the Agent by omitting the following above settings:
--publish=16445:4445
This mapping should be dropped in order to prevent incoming traffic to the Agent's HTTP port.
...
Overview
Content Tools