mirror of https://github.com/docker/docs.git
				
				
				
			zfs: call mount.MakePrivate
Fix #24008 Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp> (cherry picked from commit 5ec8441bb55ecbf83da6407a4135ce83b1fe01c7)
This commit is contained in:
		
							parent
							
								
									acc31b4448
								
							
						
					
					
						commit
						4d4848ab68
					
				|  | @ -99,6 +99,9 @@ func Init(base string, opt []string, uidMaps, gidMaps []idtools.IDMap) (graphdri | |||
| 		return nil, fmt.Errorf("BUG: zfs get all -t filesystem -rHp '%s' should contain '%s'", options.fsName, options.fsName) | ||||
| 	} | ||||
| 
 | ||||
| 	if err := mount.MakePrivate(base); err != nil { | ||||
| 		return nil, err | ||||
| 	} | ||||
| 	d := &Driver{ | ||||
| 		dataset:          rootDataset, | ||||
| 		options:          options, | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue