@Test
    void testIsRelativePath() {
        Assertions.assertTrue(isRelativePath("rel" + SEP));                            // rel/
        Assertions.assertTrue(isRelativePath(join(SEP, "src", "test", "docker")));         // src/test/docker
        Assertions.assertTrue(isRelativePath(join(SEP, DOT, "rel")));                      // ./rel
        Assertions.assertTrue(isRelativePath(join(SEP, TILDE, "rel")));                    // ~/rel
        Assertions.assertTrue(isRelativePath(join(SEP, DOT + DOT, "rel")));                // ../rel
        Assertions.assertFalse(isRelativePath("rel"));                                 // 'rel' is a named volume in this case
        Assertions.assertFalse(isRelativePath(
                createTmpFile(VolumeBindingUtilTest.class.getSimpleName(), DELETE_IMMEDIATELY)
                        .getAbsolutePath()));                                            // is absolute
    }
The volume binding string: {@code src/test/docker:/path/to/container/mountpoint} is resolved, because {@code src/
test/docker} is considered a <em>relative path</em>.
src/test/java/io/fabric8/maven/docker/util/VolumeBindingUtilTest.java