Healthcheck script execution permissions in alpine
REDNBLACK opened this issue · comments
Healthcheck scripts didn't work (timeout and service unhealthy in docker ps) in alpine images of rabbitmq and postgres, until i added the following command in Dockerfile:
RUN chmod +x /usr/local/bin/docker-healthcheck
Docker CE v17.03.0-ce-mac2 (15654)
You need to invoke chmod +x
on your local copy of the script if you didn't use git clone
to download the repository before building. 👍