pstauffer / docker-inotify Goto Github PK
View Code? Open in Web Editor NEWThis docker image runs a inotify service based on Alpine Linux.
License: MIT License
This docker image runs a inotify service based on Alpine Linux.
License: MIT License
I meet error:
$ docker-compose up inotify
Pulling inotify (pstauffer/inotify:v1.0.1)...
v1.0.1: Pulling from pstauffer/inotify
Creating dnmp_inotify_1 ... done
Attaching to dnmp_inotify_1
inotify_1 \| Error in `exclude' regular expression.
inotify_1 \| inotify settings
inotify_1 \| ================
inotify_1 \|
inotify_1 \| Container: php72
inotify_1 \| Volumes: /data
inotify_1 \| Curl_Options:
inotify_1 \| Signal: SIGHUP
inotify_1 \| Inotify_Events: create,delete,modify,move
inotify_1 \| Inotify_Options: --monitor --exclude=*.sw[px]
inotify_1 \|
inotify_1 \| [Starting inotifywait...]
dnmp_inotify_1 exited with code 0
My docker-compose.yml file is:
inotify:
image: pstauffer/inotify:v1.0.1
tty: "true"
volumes:
- ${SOURCE_DIR}/theme/themefile/:/data:rw
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- CONTAINER=php72
- VOLUMES=/data
Is there a possibility of having the base image available on ecr as well?
I'm using docker-inotify along with your bind nameserver to reload my zone file when it changes.
The zone file is in a directory from the host mapped into the volume with compose, e.g.,
volumes:
- ./data/foo:/etc/bind/foo
But when I touch data/foo/bar.zone
(for example), there's no notification event fired. Nothing in the logs, no SIGHUP, nothing.
I'm not really sure where to proceed from here. Is it that inotify doesn't work with volumes mounted from the host?
It seems that curl 7.5x changed how URLs were handled for unix sockets, which prevents the kill request used in init.sh from succeeding (the docker daemon responds instead with a 404).
There's some discussion around the change at moby/moby#17960 (comment), but briefly in older versions of curl http:/containers/xyz
resulted in a request for /containers/xyz
, and in newer versions it results in a Host: containers
header and a request for /xyz
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.