Installing Agents via Docker
The following explains how to install agents via the docker run
command using an example.
In this example, we will install an agent named myAgent
that persists data to /tmp/cybus
on the host system.
In your terminal, enter the following command using to install an agent. For the
IMAGE_TAG
variable, make sure to specify the image version that you want to use for the protocol-mapper agent. For example,1.7.0
.Optional: To run the agent with root permissions, add the parameter
--user=root
to thedocker run
command.
For more information on the parameters, see Parameters for Installing Agents via Docker
Result: The agent is installed.
Parameters for Installing Agents via Docker
The following parameters are used to install agents via Docker.
Parameter | Description |
---|---|
| This sets the agent to run in distributed mode. |
| Defines the agent name, which must match the |
| Specifies the IP address of the Connectware instance. |
| Mounts a volume to allow the agent to persist data across restarts. |
| Ensures the container automatically restarts after failures. |
| Uses host mode networking for the container. |
| Assigns a hostname to the container for easier identification. |
| Specifies the image version to be used for the protocol-mapper agent. |
Last updated