projectatomic / docker

Docker - the open-source application container engine
http://www.docker.com
Apache License 2.0
81 stars 58 forks source link

Writable oci hooks directory for CoreOS #323

Open zvonkok opened 6 years ago

zvonkok commented 6 years ago

Is this a BUG REPORT or FEATURE REQUEST?:

[//]: # kind feature

Description

When using docker in CoreOS I want to be able to install runtime hooks (prestart, poststart) into the filesystem. Currently docker only reads hooks from /usr/libexec/oci/hooks.d, which is not writable.

Is it possible to create a new directory that would be writable e.g. /etc/libexec/oci/hooks.d and make podman aware of it?