Skip to content

Conversation

@BretFisher
Copy link
Collaborator

@BretFisher BretFisher commented Dec 31, 2017

Seemed node didn't like relative paths. Tried several things like exec mode for the CMD, and also tried./healthcheck.js, but it only seems to work as a healthcheck if full path is used.

Weird that docker exec <containerid> node healthcheck.js worked manually, so docker must be running the healthcheck slightly differently.

¯\_(ツ)_/¯

@BretFisher
Copy link
Collaborator Author

Happy New Year!

@thaJeztah
Copy link
Member

Happy new year!

This is due to a regression introduced in moby/moby#35661; see moby/moby#35843, and moby/moby#35845

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

even though this was a regression; doesn't hurt to use an absolute path here 👍

@thaJeztah thaJeztah mentioned this pull request Jan 2, 2018
@albers
Copy link

albers commented Jan 2, 2018

@thaJeztah Thanks for the references.

@ManoMarks ManoMarks merged commit 68daafd into dockersamples:master Jan 2, 2018
@albers
Copy link

albers commented Jan 3, 2018

Thanks @BretFisher.

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

Successfully merging this pull request may close these issues.

4 participants