github.com/containers/libpod@v1.9.4-0.20220419124438-4284fd425507/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