I have such structure :
In my Makefile, I build the dockerfile:
sudo docker build --build-arg PHP_VERSION=7.4 -t kaiza/image-php74 - < dockerfile/Dockerfile.php
And kaiza/image-php74 is well created locally, if i do docker images
, i get:
Then, in my docker-compose.php74.yml :
version: '2.4'
services:
php7.4:
image: "kaiza/image-php74"
container_name: "kz-php74"
hostname: "kz-php74"
user: 1000:1000
...
But, when I run it
docker-compose -f docker-compose/php/docker-compose.php74.yml up --build -d
I get this error :
"pull access denied for kaiza/image-php74, repository does not exist or may require 'docker login': denied: requested access to the resource is denied"
Anyone have any idea how I can solve this without going through the registry solution (to keep everything local)?
Thanks.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…