PacktPublishing / Django-4-by-example

Django 4 by example (4th Edition) published by Packt
https://djangobyexample.com/
MIT License
799 stars 461 forks source link

Unable to find image '5672:5672' locally #16

Open MohammedAlwadey opened 2 years ago

MohammedAlwadey commented 2 years ago

when running this command docker run -it --rm --name rabbitmq -P 5672:5672 -P 15672:15672 rabbitmq:management I have this error Unable to find image '5672:5672' locally docker: Error response from daemon: pull access denied for 5672, repository does not exist or may require 'docker login': denied: requested access to the resource is denied. See 'docker run --help'.

zenx commented 2 years ago

@MohammedAlwadey please use lowercase for the -p flags: docker run -it --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:management

MohammedAlwadey commented 2 years ago

@MohammedAlwadey please use lowercase for the -p flags: docker run -it --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:management

If I use lowercase anther error happens

zenx commented 2 years ago

@MohammedAlwadey can you share the error log message?

MohammedAlwadey commented 2 years ago

@MohammedAlwadey can you share the error log message?

I come to try it again and the error didn't appear 🙃
But I have another error 😅

MohammedAlwadey commented 2 years ago

@MohammedAlwadey can you share the error log message?

![20220926_232442.jpg](https://user-images.githubusercontent.com/88503041/192373604-c4711913-1b00-4063-9204-64c4dc3e0837.jpg) Why the state not change Succeeded
MohammedAlwadey commented 2 years ago

20220926_232631.jpg

zenx commented 1 year ago

Can you verify that the file myshop/myshop/__init__.py contains the following?

# import celery
from .celery import app as celery_app

__all__ = ['celery_app']

As in https://github.com/PacktPublishing/Django-4-by-example/blob/main/Chapter11/myshop/myshop/__init__.py