UCD Agent Running in Docker
Run the UCD Agent in Docker:
docker run -d --add-host="ucd-server:$UCD_SERVER_IP" -v /:$MOUNT_LOCATION -t ibmcom/ucda[:$AGENT_DOCKER_VERSION]
Where the following user defined variables are set or replaced with values:
$UCD_SERVER_IPThe IP address (or URL) of the UCD Server to which the agent will connect.
$MOUNT_LOCATIONThe location inside docker to mount the host filesystem (use something like
$AGENT_DOCKER_VERSIONThe version of the agent to run. Omitting this parameter pulls the latest release.
Steps required to use containerized agents in your UCD environment:
- Open the UrbanCode deploy web interface and navigate to Resources > Agents
- Select a dockerized agent from the list and navigate to its configuration
- Select the Agent Properties item and add the property
BASE_DIRECTORYwith the value
- Edit your default working directory for all components using this dockerized resource to be prefixed with
Links to other UCD Docker Images
IBM UrbanCode software contained within these images is licensed under the IBM International License Agreement for Evaluation of Programs