Change default state directory to /run/oci#159
Conversation
|
👍 |
|
On Tue, Jul 28, 2015 at 10:47:49AM -0700, Alexander Morozov wrote:
Why not /run/runc? There could be alternative implementations of And /var/run → /run is 2. |
|
@wking because we want all runtimes to store state in the same place so all tools can consume this. |
|
LGTM |
|
On Tue, Jul 28, 2015 at 04:13:35PM -0700, Michael Crosby wrote:
Can't tools consume it from something more flexible? Like a “give me |
|
@wking but then you have to know what runtime you are using and call it. Maybe I want to spawn a container with one runtime then use something else to get stats and other information. Maybe I don't know that runc created the container so I cannot use it to get the state. If there is one location on disk that has the state information that I can iterate and open then I know everything I need to know about that containers are running on a host without having to know anything about a specific runtime. I don't think on disk state is a bad idea because we are already very bound to the disk with the image rootfs, cgroups, etc.... |
|
@LK4D4 isn't |
|
@crosbymichael I dunno, isn't this only on systemd systems? |
|
On Tue, Jul 28, 2015 at 04:33:26PM -0700, Michael Crosby wrote:
Having parallel runtimes collaborating at the same layer seems a bit |
|
On Tue, Jul 28, 2015 at 04:47:19PM -0700, Alexander Morozov wrote:
It's in the FHS 3.0 [1,2]. |
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
|
Changed for /run. Thanks! |
|
@wking Anyway for now it's runc implementation detail. It's better to continue discussion about state format in spec repo. |
|
LGTM |
Change default state directory to /run/oci
No description provided.