При изучении Docker с использованием Django у меня возникла проблема, связанная с установкой PostgreSQL в Linux Mint.
Это код из файла docker -compose.yml
version: '3.7'
services:
web:
build: .
command: python /code/manage.py runserver 0.0.0.0:8000
volumes:
- .:/code
ports:
- 8000:8000
depends_on:
- db
db:
image: postgress:11
Ошибка, которую я получаю при стрельбе docker -compose up -d команда
Pulling db (postgress:)...
ERROR: The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing.
Continue with the new image? [yN]y
Pulling db (postgress:)...
ERROR: pull access denied for postgress, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
Эта ошибка по-прежнему возникает после входа в систему docker.