Sign inSign up

oliverlorenz/inotifywait-command

By oliverlorenz

Updated over 6 years ago

Image
0

247

oliverlorenz/inotifywait-command repository overview

inotifywait-command

Simple Alpine container that waits for a file to be created in the /watch volume and executes a command.sh

usage

create a command.sh file and do whatever you want. Don't forget to make this file executable.

docker run -d \
  -v $(pwd)/command.sh:/command.sh \
  -v /tmp/input:/watch oliverlorenz/inotifywait-command

Tag summary

Content type

Image

Digest

Size

2.7 MB

Last updated

over 6 years ago

docker pull oliverlorenz/inotifywait-command