I try create magento 2 docker image, but after run
docker-compose up --build i have some problem, build process is die on step to install magento(
RUN php bin/magento setup:install...),
getaddrinfo failed: Name or service not known In InstallCommand.php line 264: Parameter validation failed
but if i remove that step and try do the same command in my container, magento will successfull installed. Please help me to resolve this problem. Here is link to gihub https://github.com/chaikivskyi/magento2-docker.