使用 docker Composer 失敗

wonbin發表於2020-01-10
[root@localhost wonbin-app]# docker run  -it --rm -v $(pwd):/app composer update
Loading composer repositories with package information

[Composer\Downloader\TransportException]                                                                                                       
  The "https://mirrors.aliyun.com/composer/packages.json" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: Try again  
  failed to open stream: php_network_getaddresses: getaddrinfo failed: Try again 

Laravel

解決:
重啟docker 就好了

systemctl restart docker

?????

本作品採用《CC 協議》,轉載必須註明作者和本文連結

相關文章