Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose up -d nginx mysql failed. #3097

Closed
lifeblood opened this issue Nov 10, 2021 · 2 comments
Closed

docker-compose up -d nginx mysql failed. #3097

lifeblood opened this issue Nov 10, 2021 · 2 comments

Comments

@lifeblood
Copy link

Zend Extension Api No: 320190902
ls: cannot access '.': Operation not permitted
configure: error: working directory cannot be determined
The command '/bin/sh -c set -xe; apt-get update -yqq && pecl channel-update pecl.php.net && apt-get install -yqq apt-utils gnupg2 git libzip-dev zip unzip && if [ ${LARADOCK_PHP_VERSION} = "7.3" ] || [ ${LARADOCK_PHP_VERSION} = "7.4" ] || [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then docker-php-ext-configure zip; else docker-php-ext-configure zip --with-libzip; fi && docker-php-ext-install zip && php -m | grep -q 'zip'' returned a non-zero code: 2
ERROR: Service 'php-fpm' failed to build : Build failed

@johdougss
Copy link
Contributor

johdougss commented Dec 29, 2021

upgrade Docker version 19.03.6 to Docker version 20.10.12 solved the problem

Centos 7

https://docs.docker.com/engine/install/centos/#install-using-the-repository

sudo service docker stop

sudo yum remove docker \
                  docker-client \
                  docker-client-latest \
                  docker-common \
                  docker-latest \
                  docker-latest-logrotate \
                  docker-logrotate \
                  docker-engine


 sudo yum install -y yum-utils
 
 sudo yum-config-manager \
    --add-repo \
    https://download.docker.com/linux/centos/docker-ce.repo
 
 sudo yum install docker-ce docker-ce-cli containerd.io
 
 sudo systemctl start docker

@lifeblood
Copy link
Author

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants