Docker : "docker images" Command Gives "Error: Permission Denied"
(Doc ID 2404199.1)
Last updated on MAY 07, 2020
Applies to:
Linux OS - Version Oracle Linux 7.3 with Unbreakable Enterprise Kernel [4.1.12] and laterOracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Symptoms
A regular user is not able list images using docker images command.
Following error can be observed.
[USER@HOSTNAME] $ docker images Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.27/images/json: dial unix /var/run/docker.sock: connect: permission denied
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |