Agent Installation
Last updated
Last updated
The Agent node daemon is written in Python, and is extremely simple to install. The Agent's job is to beacon to the Master node to receive and execute commands, such as pulling or running containers.
Docker engine - Installation instructions can be found .
Python 2.7, and pip
GCC - Required to install psutil
Run curl https://$C2DOMAIN_NAME/install | python
The Agent installs as a daemon called c2d. You can run c2d start/stop/restart
to manage it.
Running curl https://$C2DOMAIN_NAME/install | python
not only installs the Agent but also automatically configures it. To update agent, or reconfigure it, simply run this command again.
On MacOS, and some Linux variants, it may be necessary to run python as sudo when installing the Agent daemon. In these cases the installation command would becurl https://$C2DOMAIN_NAME/install | sudo python
The Agent can be removed by running pip uninstall C2F_Agent -
However, as of now the docker images pulled by the agent will remain.