cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Infrastructure (Server, Network, Database)

Docker - machine agent issue

Harsh.Shinde
Creator

Docker - machine agent issue

I cloned the image from https://github.com/Appdynamics/docker-machine-agent

and executed the docker-compose up command after the machine agent installation.

But im getting below error while starting the machine agent, can anyone help please??

"$ docker-compose up
Creating docker-machine-agent ... done
Attaching to docker-machine-agent
docker-machine-agent | /bin/sh: 1: /opt/appdynamics/machine-agent//start-appdynamics: not found
docker-machine-agent exited with code 127"

 

I dont know what is wrong with this

Tags (2)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
Docker - machine agent issue
1 REPLY 1
Hiroki.Ito
AppDynamics Team

Re: Docker - machine agent issue

Hello Harsh,

Thanks for posting to the AppDynamics Community.

I cloned the same image with the latest machine agent, v21.5.0, and machine agent could start successfully.

However, from the log, there is an unnecessary slash before "start-appdynamics", so could you remove the last slash from MACHINE_AGENT_HOME variable in Dockerfile and try to run again?
"/opt/appdynamics/machine-agent//start-appdynamics"
->slash after machine-agent is unnecessary

If modifying Dockerfile and using the latest machine agent doesn't work, could you please share whole docker log?

Best Regards,

Hiroki

Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.