Closed vrutkovs closed 7 years ago
buildah version 0.1 (image-spec 1.0.0-rc5, runtime-spec 1.0.0-rc5) from buildah-0.1.0-2.git597d2ab.fc26.x86_64
Dockerfile:
FROM busybox RUN mkdir /vol && touch /vol/foo VOLUME /vol RUN touch /vol/bar CMD ["cat", "/vol/bar"]
Permissions in the image using docker build are drwxr-xr-x:
drwxr-xr-x
$ sudo docker run -ti test/04:dockerapi ls -la /vol total 8 drwxr-xr-x 2 root root 4096 Jun 19 18:00 .
Buildah image has drw-------:
drw-------
$ sudo docker run -ti test/04:buildah ls -la /vol total 8 drw------- 2 root root 4096 Jun 19 18:03 .
Closed by #154
buildah version 0.1 (image-spec 1.0.0-rc5, runtime-spec 1.0.0-rc5) from buildah-0.1.0-2.git597d2ab.fc26.x86_64
Dockerfile:
Permissions in the image using docker build are
drwxr-xr-x
:Buildah image has
drw-------
: