Install Applicare SingleAgent on Ubuntu

Check this against your version

This article was last updated on Oct 16, 2024, before Applicare 10.0 was released (Jun 19, 2026), and has not been re-checked for Applicare 10.0. Confirm the steps in your environment or contact Support.

Step 1: Insert the following scripts after the "FROM" command in the Dockerfile.

RUN apt-get update && \ apt-get install -y unzip net-tools RUN mkdir /usr/local/Applicare WORKDIR /usr/local/Applicare RUN curl CONTROLLER_PROTOCOL://CONTROLLER_IP:CONTROLLER_PORT/applicare/standalone?filename=ApplicareSingleAgentLinux.zip >ApplicareSingleAgentLinux.zip RUN unzip ApplicareSingleAgentLinux.zip RUN ["rm", "-frv", "/usr/local/Applicare/ApplicareSingleAgentLinux.zip"] WORKDIR /usr/local/Applicare WORKDIR /usr/local/Applicare/wrapper/linux RUN chmod +x install.sh RUN chmod -R 777 /usr/local/Applicare RUN ["/usr/local/Applicare/wrapper/linux/install.sh"]

Update the values in the script above as Indicated

CONTROLLER_PROTOCOL -> http (or) https

CONTROLLER_IP -> Applicare Controller IP

CONTROLLER_PORT -> Applicare Controller Port

Example:

FROM tomcat:8
RUN  apt-get update && \
     apt-get install -y unzip
RUN mkdir /usr/local/Applicare
WORKDIR /usr/local/Applicare
RUN curl http://127.0.0.1:8880/applicare/standalone?filename=ApplicareSingleAgentLinux.zip >ApplicareSingleAgentLinux.zip
RUN unzip ApplicareSingleAgentLinux.zip
RUN ["rm", "-frv", "/usr/local/Applicare/ApplicareSingleAgentLinux.zip"]
WORKDIR /usr/local/Applicare
WORKDIR /usr/local/Applicare/wrapper/linux
RUN chmod +x install.sh
RUN ["/usr/local/Applicare/wrapper/linux/install.sh"]

Step 2: Specify the server name when creating the Docker container.

When creating the Docker container, set the server name in the environment variable with -esname = server name, then start the container. Replace Servername with the desired name for the Applicare agent, ensuring it is unique across different containers.

e.g.

-e sname=tomcatcontainer


docker container run -it -d -p 8065:8080 --name container1 -e sname=tomcatcontainer 1a2

Was this article helpful?

Votes and follows are kept by Zendesk, so they need a Help Center account. These buttons open this article there.

Opens Zendesk · needs internet and sign-in

Still stuck? Contact support