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

More booted checks #2

Open
thekid opened this issue Oct 23, 2016 · 0 comments
Open

More booted checks #2

thekid opened this issue Oct 23, 2016 · 0 comments

Comments

@thekid
Copy link
Contributor

thekid commented Oct 23, 2016

Currently, the boot label supports the CMD kind, which will run a command inside the container to determine whether it's up and running; and NONE. Like Docker's HEALTHCHECK, this is meant to be extended in the future.

FROM debian:jessie

# LABEL boot NONE
LABEL boot CMD /boot.sh

HEALTHCHECK CMD /health.sh

CMD ...

Ideas for kinds

Extension point

This switch statement is the correct place for implementing more checks.

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

No branches or pull requests

1 participant