skip to Main Content

My docker

enter image description here

I found this cheatsheet from internet: https://design.jboss.org/redhatdeveloper/marketing/docker_cheatsheet/cheatsheet/images/docker_cheatsheet_r3v2.pdf

I catch error

C:UsersAdministrator>docker run -it rhel7/rhel bash
Unable to find image 'rhel7/rhel:latest' locally
docker: Error response from daemon: pull access denied for rhel7/rhel, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

C:UsersAdministrator>

enter image description here

How to fix it?

4

Answers


  1. Well, this error means that the docker image you are trying to pull is private. Only logged user with permissions may pull the image. You may use the command docker login in order to login to docker hub, but if your user does not have the permissions, it will fail anyway.

    Login or Signup to reply.
  2. This document seems to be an internal document of Red Hat. REHL is not a community distribution and there’s no image for it in docker hub. You need to use one of the CentOS images instead or try other GNU/Linux distros such as Ubuntu or Debian.

    Login or Signup to reply.
  3. One of the universal error might not be login, you are probably pulling an image that is not in your local machine, or in the community docker hub. go to the dockerhub online and check if such image exist. If it does, then it definitely Login. These are the only possible issues one can face.

    Login or Signup to reply.
  4. In my case was an error in command.
    I have tried to execute this:

    sudo docker run -dit --name ${CI_PROJECT_PATH_SLUG} -p "443:443" -p "8050:8050" -p "8069:8069" -p "8052:8052" -p "3306:3306" -p "5432:5432" -p "9003:9003" linux
    

    This param ${CI_PROJECT_PATH_SLUG} was not identified.

    It looks wierd because the output is not telling the param is not recognized but this:

    docker: Error response from daemon: pull access denied for 443, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search