Installing Agents via Docker Compose
The following explains how to install agents via Docker Compose using an example.
If multiple agents are running on the same machine, each agent must be assigned its own Docker volume. Otherwise, the agents will overwrite each other’s persisted data, including username and password credentials.
To log in to the Cybus Docker registry, enter the following command in your terminal:
When prompted, enter the following credentials:
Username:
license
Password: Your Connectware license key
Create a folder (e.g.
myAgent
)Create a new file and name it
docker-compose.yml
.Paste the following service commissioning file example into the file. 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
.
In your terminal, enter the following command to run the file:
Optional: To run the agent with root permission, add
user: root
to thedocker-compose.yml
file.
Result: The agent is installed.
Last updated