Open tasso85 opened 5 years ago
O.S.: MacOS Mojave 10.14.4 Docker: Docker Desktop 2.0.3.0
I'm getting a similar error,docker-compose up -d
finishes but docker-compose ps
states that php-microservices-workshop_php_1 has state exit
.
Moreover docker-compose build
give the following error message:
➜ php-microservices-workshop git:(master) docker-compose build
elasticsearch uses an image, skipping
elasticsearch2 uses an image, skipping
Building php
Step 1/3 : FROM php:7.3-cli
---> 47174070e3d8
Step 2/3 : RUN pecl install swoole && docker-php-ext-enable swoole
---> Running in e37516b1d6c6
pecl/swoole is already installed and is the same as the released version 4.3.3
install failed
ERROR: Service 'php' failed to build: The command '/bin/sh -c pecl install swoole && docker-php-ext-enable swoole' returned a non-zero code: 1
vm.max_map_count [65530] is too low, increase to at least [262144]
You have to increase this value. Use sysctl. conf... On the host machine
I was trying the docker installation, and I come to an error when firing up the containers.
I have first cloned the repository with
git clone https://github.com/ezimuel/php-microservices-workshop
then went into the directory created with
cd php-microservices-workshop
and finally I ran
docker-compose up
the build process seems to go fine but, in the end, I see these errors from the containers:
am I doing anything wrong?