Reputation: 87
I've just cloned a project and when I run command docker-compose up
it's giving me
Step 2/20 : RUN apt-get update && apt-get install -y openssl git unzip zlib1g-dev libzip-dev libgpgme11-dev libpng-dev -y
gnupg && pecl install gnupg && docker-php-ext-enable gnupg && docker-php-ext-install gd
1 error occurred:
* Status: Invalid signal: SIGQUIT, Code: 1
I'm using latest version of docker, my OS is Windows 10 Pro 64. How can I solve this issue?
Upvotes: 0
Views: 3503
Reputation: 1940
Wrapping up comments:
-y
flag in the apt-get install
command.Steps to debug:
docker compose --verbose up
dockerfile
and pull the steps apart (by creating several RUN commands instead of chaining all by &&). Then you'll see the specific command which breaks the build process.docker build
instead of compose to build this specific image without all the compose overhead (especially in big projects with several services). To change compose args to docker cli args see ReferenceUpvotes: 2