You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.
Typically more configurable docker images would make use of runparts and a /entrypoint.d/* or /docker-entrypoint.d/ directory, allowing users of a docker image to run pre-flight tasks before launching the images star actor (vault in this case).
Directing users to prefix their entrypoint.d/files with guards that bail early makes the distinction between always runs and only on first run
Obvious candidates for pre-flight tasks might be:
create collection of known users
import data
cancel container startup or continue depending on state of external thing
notify something
In order to keep the base clean of superflous features, this approach helps image users to customise per scenario without forcing us to create and upload yet-another-image to dockerhub or private registry assuming a circumstances even allow for such a tedious task.
example of how such a thing might work is as follows:
Typically more configurable docker images would make use of
runparts
and a/entrypoint.d/*
or/docker-entrypoint.d/
directory, allowing users of a docker image to run pre-flight tasks before launching the images star actor (vault in this case).Directing users to prefix their
entrypoint.d/files
with guards that bail early makes the distinction betweenalways runs
andonly on first run
Obvious candidates for pre-flight tasks might be:
In order to keep the base clean of superflous features, this approach helps image users to customise per scenario without forcing us to create and upload yet-another-image to dockerhub or private registry assuming a circumstances even allow for such a tedious task.
example of how such a thing might work is as follows:
The text was updated successfully, but these errors were encountered: