mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
73d9ede12c
We used to mount in Create() to be able to create a few files that needs to be in each device. However, this mount is problematic for selinux, as we need to set the mount label at mount-time, and it is not known at the time of Create(). This change just moves the file creation to first Get() call and drops the mount from Create(). Additionally, this lets us remove some complexities we had to avoid an extra unmount+mount cycle. Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson) |
||
---|---|---|
.. | ||
aufs | ||
btrfs | ||
devmapper | ||
vfs | ||
driver.go |