在尝试运行docker-compose up -d nginx mysql
我正在尝试在OSX上运行Laradock容器,但是当composer尝试安装依赖项时,我总是遇到错误。我已经更新了docker设置,以通知其有关我的公司代理的信息:
在添加代理信息之前,我收到此错误:
[Composer\Downloader\TransportException]
The "https://packagist.org/packages.json" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
由于更新了代理详细信息,我现在收到此错误:
Step 27/183 : RUN if [ ${COMPOSER_GLOBAL_INSTALL} = true ]; then composer global install ;fi
---> Running in a7699d4ecebd
Changed current directory to /home/laradock/.composer
Loading composer repositories with package information
[Composer\Downloader\TransportException]
The "https://packagist.org/packages.json" file could not be downloaded: SSL: Success
Failed to enable crypto
failed to open stream: operation failed
我是一位经验丰富的开发人员,但是对Docker还是陌生的。我认为是由于PHP在docker容器中运行,但由于某种原因无法访问我的本地证书而引起的错误?