尝试在 Cent-OS 中部署 docker 容器时出现以下错误( DNS 未在容器内解析)
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads https://github.com/Asymmetrik/node-fhir-server-core.git
Directory: /srv/cpr-fhir
Output:
fatal: unable to access 'https://github.com/Asymmetrik/node-fhir-server-core.git/': Could not resolve host: github.com
**Operating System: CentOS Linux 8 (Core)
Docker version: Version: 19.03.7**