Getting started using the browser UI
To use the Cargo Daemon via the browser UI, simply open
<machine> is the machine host name or IP address and
<port> is the port number used (default is
- To start a container, fill in the form and press Submit:
- To stop, restart, delete or view logs of a container, use the actions on the containers list:
- The Cargo Daemon keeps a persistent record on disk of all the containers that have been submitted. Containers that have been submitted will stay in the list, even when they are stopped. This allows you to manually restart them, or view the logs even after the container is stopped.
- If you want the container to be removed from the list, simply press the delete button.
- Containers can also be submitted with the
autostartproperty (currently only via the Java API or the Maven2/Maven3 plugin), this will automatically restart the container if the daemon notices it is stopped.
Getting started with the Java API / Maven2/Maven3 plugin
As stated before, the Cargo Daemon is also available programmatically:
- The details of the Java API can be seen on the Javadoc for o.c.c.tools.daemon.DaemonClient
- The details of the configuration for the Maven2/Maven3 plugin is documented in the Daemon section of the Maven2/Maven3 plugin reference guide
In order to connect to the Daemon via Java API or Maven2/Maven3 plugin, the minimum requirement is Java version 5.
To get the required libraries for using the Daemon via Java API, please check the Downloads page.