Docker container which waits for a file to exist.
220
Docker container which waits for a file to exist.
Waits for a file to exist before exiting.
The file to wait for is configured via the WAIT_FILE_PATH environment
variable.
Example of waiting for a file located at /files/foo:
docker run \
--rm \
-it \
-e WAIT_FILE_PATH=/files/foo \
-v $(pwd):/files \
noahhuppert/file-wait-container:dev
Run the build make target to build and tag the Docker image.
Override the following variables to customize the tag:
repo: Defaults to noahhupert/file-wait-containerversion: Defaults to devThese variables will be assembled to create the tag:
<repo>:<version>
Content type
Image
Digest
Size
2 MB
Last updated
about 8 years ago
docker pull noahhuppert/file-wait-container