Open azzok opened 3 years ago
Looks like you're using a very old version of docker-compose.
See here for the instructions to get the most updated version
See here for already build Docker images for NOSH
I updated docker compose version 1.21.2 to 1.28.0
docker-compose version 1.28.0, build d02a7b1a
But still i am getting same Operation not permitted error
Not sure if this is a NOSH issue specifically as I cannot replicate this problem with build the Docker image on Arch Linux or Ubuntu - confirm that the DigitalOcean droplet you're building this from has the correct permissions (I see that your terminal is using the root user in the screenshot but the docker command is in the noshuser home directory).
Same issue with my case? On Mac, Linux same case docker build . shows above error. I used recent versions.
While creating docker build using
docker build -t azzok/docker-nosh2-pub:v1.0 .
I get the following errormake: /bin/sh: Operation not permitted make: *** [Makefile:192: ZendAccelerator.lo] Error 127
How to build docker image for nosh2, I was using the following method
sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-
uname -s-
uname -m-o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
Then we’ll verify that the installation was successful by checking the version:
docker-compose --version
This will print out the version we installed:
Output
docker-compose version 1.21.2, build a133471
git clone https://github.com/shihjay2/nosh2
cd nosh2
docker build -t azzok/docker-nosh2-pub:v1.0 .
I get following error
make: /bin/sh: Operation not permitted make: *** [Makefile:192: ZendAccelerator.lo] Error 127 docker
Is any thing missing for above method. Can you help me to create docker build image for nosh2?