You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(container): add unit test for volume subpath preservation (#265)
- Add a unit test to verify that `GetCreateHostConfig` preserves volume subpath in `HostConfig.Mounts`, addressing potential issues with subpath handling during container recreation.
- Add a `WithMounts` helper in `container_mock_test.go` to support mount configuration in tests.
Successful testing confirms that this fork of Watchtower honors Docker volume subpaths, including avoiding the issue described in containrrr#2017
0 commit comments