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

前端 未结 16 1888
悲哀的现实
悲哀的现实 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:34

    This error message might possibly indicate something else.

    In my case I defined another Docker-Image elsewhere from which the current Docker inherited its settings (docker-compos.yml):

    FROM my_own_image:latest
    

    The error message I got:

    qohelet$ docker-compose up
    Building web
    Step 1/22 : FROM my_own_image:latest
    ERROR: Service 'web' failed to build: pull access denied for my_own_image, repository does not exist or may require 'docker login'
    

    Due to a reinstall the previous Docker were gone and I couldn't build my docker using docker-compose up with this command:

    sudo docker build -t my_own_image:latest -f MyOwnImage.Dockerfile .
    

    In your specific case you might have defined your own php-docker.

提交回复
热议问题