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

Doesn't start on MacOs #28

Open
kiru1978 opened this issue Mar 15, 2019 · 0 comments
Open

Doesn't start on MacOs #28

kiru1978 opened this issue Mar 15, 2019 · 0 comments

Comments

@kiru1978
Copy link

Hi I pulled your project and folloewd your guideline but i have an error when i run docker-compose up -d --build.

here all log

Removing dockercron2_crontab_1
Building crontab
Step 1/7 : FROM library/docker:stable
---> 639de9917ae1
Step 2/7 : ENV HOME_DIR=/opt/crontab
---> Using cache
---> 626d82b7a0ef
Step 3/7 : RUN apk add --no-cache --virtual .run-deps bash jq && mkdir -p ${HOME_DIR}/jobs ${HOME_DIR}/projects && adduser -S docker -D && sed -i "s/999/99/" /etc/group
---> Using cache
---> ae9856510125
Step 4/7 : COPY docker-entrypoint /
---> Using cache
---> f7cc213f40e9
Step 5/7 : ENTRYPOINT ["/docker-entrypoint"]
---> Using cache
---> edfddc9d4c28
Step 6/7 : HEALTHCHECK --interval=5s --timeout=3s CMD ps aux | grep '[c]rond' || exit 1
---> Using cache
---> b9a08bdcb3a6
Step 7/7 : CMD ["crond","-f"]
---> Using cache
---> 3aa28dd68b79
Successfully built 3aa28dd68b79
Successfully tagged dockercron2_crontab:latest
dockercron2_myapp_1 is up-to-date
Recreating 3d0331691c7b_dockercron2_crontab_1 ... error

ERROR: for 3d0331691c7b_dockercron2_crontab_1 Cannot start service crontab: OCI runtime create failed: container_linux.go:344: starting container process caused "exec: "/docker-entrypoint": permission denied": unknown

ERROR: for crontab Cannot start service crontab: OCI runtime create failed: container_linux.go:344: starting container process caused "exec: "/docker-entrypoint": permission denied": unknown
ERROR: Encountered errors while bringing up the project.

I hope that can help you. Thanks for the support

Carmine

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

1 participant