Centos 8: ошибка при сборке контейера
Moisey777 opened this issue · comments
Ошибка при сборке. Скорее всего дело в dns.
Could not resolve host: github.com
Step 5/9 : RUN git clone -b $tag --recursive https://github.com/percona/mongodb_exporter.git . && make build
---> Running in 356a0c25195d
Cloning into '.'...
fatal: unable to access 'https://github.com/percona/mongodb_exporter.git/': Could not resolve host: github.com
ERROR: Service 'mongodb-exporter' failed to build: The command '/bin/sh -c git clone -b $tag --recursive https://github.com/percona/mongodb_exporter.git . && make build' returned a non-zero code: 128
Помогло изменение firewall'a
docker/for-linux#957 (comment)
Обязательно нужно будет включить в документацию, спасибо, @Moisey777