diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2018-04-26 17:21:48 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-06-15 14:53:18 +0000 |
commit | 7bdfb4f9b361aca4f4f3337907feb3ca414d36e4 (patch) | |
tree | aff63093af49df79820e72a5a68f07e6fe70b863 /pkg | |
parent | 4b4de5dc21f034f5f678114dbf6d51f047c96a59 (diff) | |
download | podman-7bdfb4f9b361aca4f4f3337907feb3ca414d36e4.tar.gz podman-7bdfb4f9b361aca4f4f3337907feb3ca414d36e4.tar.bz2 podman-7bdfb4f9b361aca4f4f3337907feb3ca414d36e4.zip |
podman: accept option --rootfs to use exploded images
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Closes: #871
Approved by: mheon
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/inspect/inspect.go | 1 | ||||
-rw-r--r-- | pkg/spec/createconfig.go | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/pkg/inspect/inspect.go b/pkg/inspect/inspect.go index ecc167544..09ddf488c 100644 --- a/pkg/inspect/inspect.go +++ b/pkg/inspect/inspect.go @@ -148,6 +148,7 @@ type ContainerInspectData struct { State *ContainerInspectState `json:"State"` ImageID string `json:"Image"` ImageName string `json:"ImageName"` + Rootfs string `json:"Rootfs"` ResolvConfPath string `json:"ResolvConfPath"` HostnamePath string `json:"HostnamePath"` HostsPath string `json:"HostsPath"` diff --git a/pkg/spec/createconfig.go b/pkg/spec/createconfig.go index 25a0e26bd..4d29fb3bd 100644 --- a/pkg/spec/createconfig.go +++ b/pkg/spec/createconfig.go @@ -130,6 +130,7 @@ type CreateConfig struct { ApparmorProfile string //SecurityOpts SeccompProfilePath string //SecurityOpts SecurityOpts []string + Rootfs string } func u32Ptr(i int64) *uint32 { u := uint32(i); return &u } |