zabbix / zabbix-docker

Official Zabbix Dockerfiles
https://www.zabbix.com
GNU Affero General Public License v3.0
2.38k stars 1.37k forks source link

ERROR [internal] load metadata for docker.io/library/zabbix-build-mysql:alpine-7.0.3 #1507

Closed lauboudou closed 1 month ago

lauboudou commented 1 month ago

Hi,

Firstly, I deployed zabbix on a Debian 12 VM using the docker-compose version of alpine 'docker-compose_v3_alpine_mysql_latest.yaml'.

To complete this installation, I deployed the zabbix-agent from zabbix-docker/Dockerfiles/agent2/alpine. I encountered the following error when starting build.sh

image

For the correct recovery of the image zabbix-build-mysql:alpine-7.0.3 on the hub.docker.com you must prefix the name of the image in the zabbix-docker/Dockerfiles/agent2/alpine/Dockerfile with zabbix/ as in this line:

image

The build.sh will work and zabbix-agent will be created

dotneft commented 1 month ago
docker compose -f docker-compose_v3_alpine_mysql_local.yaml build  zabbix-build-base zabbix-build-mysql zabbix-agent

is enough to build Zabbix agent. The script you are trying to use for debug reasons, do not need to use it.