Knowledge Base

Showing results for 
Search instead for 
Did you mean: 

How do I resolve Docker Machine Agent permission errors?


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.




To resolve this issue, run the following command in the machine terminal.  

sudo usermod -a -G docker $username


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


Related Links:


Version history
Revision #:
7 of 7
Last update:
‎02-04-2019 01:39 PM
Updated by:
Labels (1)
Tags (1)

Found this article helpful? Click the Thumbs Up button.
Have an additional comment? Post it below.
0 Kudos