github.com/containers/podman/v2@v2.2.2-0.20210501105131-c1e07d070c4c/test/build/volume-perms/Dockerfile (about) 1 FROM alpine 2 VOLUME /vol/subvol 3 # At this point, the directory should exist, with default permissions 0755, the 4 # contents below /vol/subvol should be frozen, and we shouldn't get an error 5 # from trying to write to it because we it was created automatically. 6 RUN dd if=/dev/zero bs=512 count=1 of=/vol/subvol/subvolfile