动态日志

2019年07月14日08:17:51

安装-mojito 执行composer require moell/mojito失败

mac-vbox-docker 内存 768M

  - Installing symfony/polyfill-ctype (v1.11.0): Downloading (100%)
    proc_open(): fork failed - Cannot allocate memory
    The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
    Unzip with unzip command failed, falling back to ZipArchive class

Installation failed, deleting ./composer.json.
The following exception is caused by a lack of memory or swap, or not having swap configured
Check https://getcomposer.org/doc/articles/troubleshooting.md#proc-open-fork-failed-errors for details

解决: 重新调整虚拟机内存为1024M 重新执行安装命令

2019年07月13日23:27:00

laradock-docker-compose up -d nginx wrokspace mysql 构建镜像失败

mac vbox docker

ip: 101.78.165.203(代理成香港) 163.125.182.40(没有代理的)

构建失败-不打算在本地构建、计划拉取docker-lnmp项目然后推送到hub.docker.com上构建在拉取下来.

W: Failed to fetch http://ppa.launchpad.net/ondrej/php/ubuntu/dists/xenial/InRelease  Could not connect to ppa.launchpad.net:80 (91.189.95.83), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
+ pecl channel-update pecl.php.net
Updating channel "pecl.php.net"
Update of Channel "pecl.php.net" succeeded
+ groupadd -g 1000 laradock
+ useradd -u 1000 -g laradock -m laradock -G docker_env
+ usermod -p * laradock -s /bin/bash
+ apt-get install -yqq apt-utils libzip-dev zip unzip php7.2-zip nasm
E: Failed to fetch http://ppa.launchpad.net/ondrej/php/ubuntu/pool/main/libz/libzip/libzip-dev_1.3.2-1+ubuntu16.04.1+deb.sury.org+1_amd64.deb  Could not connect to ppa.launchpad.net:80 (91.189.95.83), connection timed out

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
ERROR: Service 'workspace' failed to build: The command '/bin/sh -c set -xe;     apt-get update -yqq &&     pecl channel-update pecl.php.net &&     groupadd -g ${PGID} laradock &&     useradd -u ${PUID} -g laradock -m laradock -G docker_env &&     usermod -p "*" laradock -s /bin/bash &&     apt-get install -yqq       apt-utils       libzip-dev zip unzip       php${LARADOCK_PHP_VERSION}-zip       nasm &&       php -m | grep -q 'zip'' returned a non-zero code: 100