mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
move xino stuff to /dev/shm
This commit is contained in:
parent
04050c4173
commit
f67ea78cce
1 changed files with 2 additions and 0 deletions
2
image.go
2
image.go
|
@ -126,6 +126,8 @@ func MountAUFS(ro []string, rw string, target string) error {
|
|||
}
|
||||
branches := fmt.Sprintf("br:%v:%v", rwBranch, roBranches)
|
||||
|
||||
branches += ",xino=/dev/shm/aufs.xino"
|
||||
|
||||
//if error, try to load aufs kernel module
|
||||
if err := mount("none", target, "aufs", 0, branches); err != nil {
|
||||
log.Printf("Kernel does not support AUFS, trying to load the AUFS module with modprobe...")
|
||||
|
|
Loading…
Add table
Reference in a new issue