1
0
mirror of https://github.com/moby/moby.git synced 2025-07-30 18:23:29 +03:00

Deprecate --graph flag; Replace with --data-root

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
This commit is contained in:
Josh Hawn
2016-11-21 22:17:24 -08:00
committed by Sebastiaan van Stijn
parent b214d8d893
commit 261ef1fa27
12 changed files with 53 additions and 29 deletions

View File

@ -1778,7 +1778,7 @@ func (s *DockerDaemonSuite) TestDaemonNoSpaceLeftOnDeviceError(c *check.C) {
dockerCmd(c, "run", "--privileged", "--rm", "-v", testDir+":/test:shared", "busybox", "sh", "-c", fmt.Sprintf("mkdir -p /test/test-mount && mount -t ext4 -no loop,rw %v /test/test-mount", loopname))
defer mount.Unmount(filepath.Join(testDir, "test-mount"))
s.d.Start(c, "--graph", filepath.Join(testDir, "test-mount"))
s.d.Start(c, "--data-root", filepath.Join(testDir, "test-mount"))
defer s.d.Stop(c)
// pull a repository large enough to fill the mount point