Docker - CentOS 7 - missing signature key - решение
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Docker - CentOS 7 - missing signature key - решение
Ошибка при создании контейнера - missing signature key:
# docker create --name=db -e POSTGRES_DB=wiki -e POSTGRES_USER=wiki -e POSTGRES_PASSWORD_FILE=/etc/wiki/.db-secret -v /etc/wiki/.db-secret:/etc/wiki/.db-secret:ro -v pgdata:/var/lib/postgresql/data --restart=unless-stopped -h db --network=wikinet postgres:15 Unable to find image 'postgres:15' locally Trying to pull repository docker.io/library/postgres ... missing signature key
Решение - удалить старую версию докера:
# yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine -y
и поставить самую последнюю:
# yum install -y yum-utils # yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo # yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y # systemctl start docker # systemctl enable docker