pull access denied repository does not exist or may require docker login

前端 未结 16 1893
悲哀的现实
悲哀的现实 2021-02-02 05:18

I am using Laravel 4.2 with docker. I setup it on local. It worked without any problem but when I am trying to setup online using same procedure then I am getting error

16条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-02 05:39

    The message usually comes when you put the wrong image name. Please check your image if it exists on the Docker repository with the correct tag. It helped me.

    docker run -d -p 80:80 --name ngnix ngnix:latest
    Unable to find image 'ngnix:latest' locally
    docker: Error response from daemon: pull access denied for ngnix, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
    See 'docker run --help'.
    $ docker run -d -p 80:80 --name nginx nginx:latest
    Unable to find image 'nginx:latest' locally
    latest: Pulling from library/nginx
    

提交回复
热议问题