Note: Step 1, 2 and 3 is required only if the ApplicareSingleAgentLinux directory is not available in the docker installed machine.
Step 1: Login into Applicare console and go to the Download Agents menu and download SingleAgentLinux
Step 2: Copy the ApplicareSingleAgentLinux.zip file to docker installed machine
Step 3: Go to the zip file copied path and create a directory ApplicareSingleAgentLinux in that path and extract the zip file to that directory
mkdir ApplicareSingleAgentLinux
unzip ApplicareSingleAgentLinux.zip -d ApplicareSingleAgentLinux
Step 4: Go inside the docker container
docker container exec -it CONTAINER ID bash
Example: docker container exec -it a0eb9355dac0 bash
Step 5: Note the docker path and exit from the container. Here the docker path is a0eb9355dac0:/code
exit
Step 6: Copy the ApplicareSingleAgentLinux directory inside docker container
docker cp sourcePath/ApplicareSingleAgentLinux dockerContainerPath/ApplicareSingleAgentLinux
Example: docker cp /home/ApplicareSingleAgentLinux a0eb9355dac0:/code/ApplicareSingleAgentLinux
Step 7: Go inside the docker container and give read, write and executable permission for the ApplicareSingleAgentLinux directory
docker container exec -it CONTAINER ID bash
Example: docker container exec -it a0eb9355dac0 bash
chmod -R 777 ApplicareSingleAgentLinux
Step 8: Go to the ApplicareSingleAgentLinux/wrapper/linux directory and execute ./install.sh to install the wrapper
cd ApplicareSingleAgentLinux/wrapper/linux
./install.sh
Step 9: Exit from the container
exit
Step 10: Stop and start the container
docker stop CONTAINER ID
docker start CONTAINER ID
Example:
docker stop a0eb9355dac0
docker start a0eb9355dac0
Step 11: Login into Applicare console and go to the Overview menu to view the newly added agent
Comments
0 comments
Article is closed for comments.