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

starting container process caused "exec: \"./extra/service_startup.sh\": permission denied" #431

Closed
vincentcox-work opened this Issue Jan 31, 2017 · 2 comments

Comments

Projects
None yet
3 participants
@vincentcox-work

vincentcox-work commented Jan 31, 2017

I used docker for the installation.

If I run: docker run -p 80:80 -p 443:443 fbctf_in_dev, I get the following error:

container_linux.go:247: starting container process caused "exec: \"./extra/service_startup.sh\": permission denied"
docker: Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"exec: \\\"./extra/service_startup.sh\\\": permission denied\"\n".

Anybody an idea?

@joebloggs12

This comment has been minimized.

Show comment
Hide comment
@joebloggs12

joebloggs12 Jan 31, 2017

I had this problem a couple of days ago too but I managed to fix it.
After you clone the repo but before you build the container, navigate to the directory that you cloned the repo and run:

sudo chmod +x ./extra/service_startup.sh

Then build the container as instructed and run it using the run command and that should work.

joebloggs12 commented Jan 31, 2017

I had this problem a couple of days ago too but I managed to fix it.
After you clone the repo but before you build the container, navigate to the directory that you cloned the repo and run:

sudo chmod +x ./extra/service_startup.sh

Then build the container as instructed and run it using the run command and that should work.

@qazbnm456

This comment has been minimized.

Show comment
Hide comment
@qazbnm456

qazbnm456 Feb 2, 2017

Contributor

It seems service_startup.sh has been chmod to ordinary file due to this commit.

Would send a PR to fix this issue soon.

Contributor

qazbnm456 commented Feb 2, 2017

It seems service_startup.sh has been chmod to ordinary file due to this commit.

Would send a PR to fix this issue soon.

qazbnm456 added a commit to qazbnm456/fbctf that referenced this issue Feb 2, 2017

@javuto javuto closed this in #437 Feb 2, 2017

javuto added a commit that referenced this issue Feb 2, 2017

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