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

Operation not permitted #160

Open
azzok opened this issue Jan 20, 2021 · 4 comments
Open

Operation not permitted #160

azzok opened this issue Jan 20, 2021 · 4 comments

Comments

@azzok
Copy link

azzok commented Jan 20, 2021

While creating docker build using

docker build -t azzok/docker-nosh2-pub:v1.0 .
I get the following error

make: /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

  1. Create droplet with default Docker installed in digital ocean
  2. Install Docker composer using following commends

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

  1. Clone repository

git clone https://github.com/shihjay2/nosh2
cd nosh2

  1. run build commend

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?

@shihjay2
Copy link
Owner

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

@azzok
Copy link
Author

azzok commented Jan 21, 2021

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

image

@shihjay2
Copy link
Owner

shihjay2 commented Jan 22, 2021

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).

@webeng101
Copy link

webeng101 commented Jan 29, 2021

Same issue with my case?
On Mac, Linux same case
docker build .
shows above error.
I used recent versions.

shihjay2 added a commit that referenced this issue Jan 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants