podman/pkg
Matthew Heon 333d9af77a Ensure WORKDIR from images is created
A recent crun change stopped the creation of the container's
working directory if it does not exist. This is arguably correct
for user-specified directories, to protect against typos; it is
definitely not correct for image WORKDIR, where the image author
definitely intended for the directory to be used.

This makes Podman create the working directory and chown it to
container root, if it does not already exist, and only if it was
specified by an image, not the user.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-08-03 14:44:52 -04:00
..
annotations Add `ContainerManager` annotation to created containers 2019-09-10 09:37:14 +02:00
api Return NamesHistory when returning remote images 2020-07-29 14:17:56 -04:00
auth compat handlers: add X-Registry-Auth header support 2020-05-29 15:39:37 +02:00
autoupdate Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
bindings bindings: skip flaky pause/unpause test 2020-07-29 11:30:09 -06:00
cgroups Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
channelwriter account for varlink calls that dont use more 2019-07-10 08:50:05 -05:00
checkpoint Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
criu
ctime Re-add int64 casts for ctime 2019-07-23 15:43:40 -04:00
domain Fix `podman image search` missing description 2020-07-29 10:58:56 +02:00
env make env handling os dependent 2020-06-02 08:28:08 -05:00
errorhandling image removal: refactor part 2 2020-05-04 16:01:45 +02:00
hooks Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
inspect Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
kubeutils
lookup Turn on More linters 2020-06-15 07:05:56 -04:00
namespaces libpod: pass down network options 2020-07-16 22:37:27 +02:00
netns Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
network Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
parallel Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
ps Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
registrar Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
registries Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
resolvconf Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
rootless rootless: add a check for the host id included in the range 2020-07-30 23:16:50 +02:00
rootlessport rootlessport: use two different channels 2020-04-29 12:35:23 +02:00
seccomp apiv2 container create using specgen 2020-02-19 15:20:15 -06:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
signal Turn on More linters 2020-06-15 07:05:56 -04:00
spec Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
specgen Ensure WORKDIR from images is created 2020-08-03 14:44:52 -04:00
systemd Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
terminal Set console mode for windows 2020-06-29 09:17:55 -05:00
timetype make lint: enable gocritic 2020-01-13 14:27:02 +01:00
tracing make lint: include pkg/tracing 2020-01-14 09:54:48 +01:00
trust Fixup issues found by golint 2020-06-10 05:49:41 -04:00
util Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
varlink Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
varlinkapi Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00