educative.io

Error while trying to run docker image

sudo docker run alphine printenv

When I executed this command, I get the following error. I searched the internet for solutions, but the problem still persists. Below given is the error that pops up

Error response from daemon: pull access denied for alphine, repository does not exist or may require ‘docker login’: denied: requested access to the resource is denied

Hey @Niveth_Saran

This is Waleed from Educative.

The command is sudo docker run alpine printenv but you are using sudo docker run alphine printenv. Fixing this small typo might resolve the issue.

We hope Educative has inspired your learning.

Regards,
Waleed Khalid
Developer Advocate
educative.io

1 Like