Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

"exec: "/sbin/runit-wrapper":permission denied #54

Open
627095286 opened this issue Dec 1, 2020 · 2 comments
Open

"exec: "/sbin/runit-wrapper":permission denied #54

627095286 opened this issue Dec 1, 2020 · 2 comments

Comments

@627095286
Copy link

Back-off restarting failed container
Created container php-apache-6cb59
Error: failed to start container "php-apache-6cb59": Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: "/sbin/runit-wrapper": permission denied": unknown
Back-off restarting failed container

@627095286
Copy link
Author

FROM alpine:3.9

Back-off restarting failed container
Created container php-apache-6cb59
Error: failed to start container "php-apache-6cb59": Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: "/sbin/runit-wrapper": permission denied": unknown
Back-off restarting failed container

@627095286
Copy link
Author

COPY tags/nginx /
RUN chmod +x /sbin/runit-wrapper
RUN chmod +x /sbin/runsvdir-start
RUN chmod +x /etc/service/php-fpm/run
RUN chmod +x /etc/service/nginx/run
EXPOSE 80

CMD ["/sbin/runit-wrapper"]

solved

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant