Page History
...
After pulling the Agent image you can can run the container with a number of options like this:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
#!/bin/sh docker run -dit --rm \ --user="$(id -u $USER):$(id -g $USER)" \ --hostname=js7-agent-2-0-primary \ --network=js7 \ --publish=14445:4445 \ --env="RUN_JS_HTTP_PORT=14445" \ --env="RUN_JS_JAVA_OPTIONS=-Xmx256m" \ --mount="type=volume,src=js7-agent-2-0-primary-config,dst=/var/sos-berlin.com/js7/agent/var_4445/config" \ --mount="type=volume,src=js7-agent-2-0-primary-logs,dst=/var/sos-berlin.com/js7/agent/var_4445/logs" \ --mount="type=volume,src=js7-agent-2-0-primary-state,dst=/var/sos-berlin.com/js7/agent/var_4445/state" \ --name js7-agent-2-0-0-primary \ sosberlin/jobscheduler:agent-2-0-0 |
...
Overview
Content Tools