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.

Knowledge Base

How do I resolve Docker Machine Agent permission errors?

Issue

While running the docker-compose up command, the Docker container for the Machine Agent is not running. The following permission error is shown.

 

Could not start up the machine agent due to: Failed to get a response from /info using a GET request. The error encountered is: XXXX:XXXXX:XXXX: Permission denied (socket: /run/docker.sock) ​

 

This issue occurs on a default installation when a user other than the root user, or a user outside of the Docker group, is trying to access the socket.

 

 

Solution

First, check to make sure the mount is properly configured.

 

Then, if you have eliminated configuration as the cause, run the following command in the machine terminal.  

sudo usermod -a -G docker $username

 

Finally, log out of the account completely, and log back in. 

 

Related Links:

 

Version history
Last update:
‎02-10-2020 03:04 PM
Updated by:
Labels (1)
Tags (1)
By replying you agree to the Terms and Conditions of the AppDynamics Community.