Oracle Linux : "docker images" Command Gives Error: Permission Denied

(Doc ID 2404199.1)

Last updated on JUNE 06, 2018

Applies to:

Linux OS - Version Oracle Linux 7.3 with Unbreakable Enterprise Kerne [4.1.12] and later
Linux x86-64

Symptoms

A regular user is not able list images using docker images command.

Following error can be observed.

Naveen> 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

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms