integration-cli: TestRemoveContainerAfterLiveRestore use overlay2
the overlay storage driver is deprecated, so we might as well use overlay2
for this test.
@@ -2690,14 +2690,14 @@ func (s *DockerDaemonSuite) TestExecWithUserAfterLiveRestore(c *testing.T) {
func (s *DockerDaemonSuite) TestRemoveContainerAfterLiveRestore(c *testing.T) {
testRequires(c, DaemonIsLinux, overlayFSSupported, testEnv.IsLocalDaemon)
- s.d.StartWithBusybox(c, "--live-restore", "--storage-driver", "overlay")
+ s.d.StartWithBusybox(c, "--live-restore", "--storage-driver", "overlay2")
out, err := s.d.Cmd("run", "-d", "--name=top", "busybox", "top")
assert.NilError(c, err, "Output: %s", out)
s.d.WaitRun("top")
// restart daemon.
- s.d.Restart(c, "--live-restore", "--storage-driver", "overlay")
+ s.d.Restart(c, "--live-restore", "--storage-driver", "overlay2")
out, err = s.d.Cmd("stop", "top")
assert.NilError(c, err, "Output: %s", out)
