private boolean isVersion2(String version) {
        return version.equals("2") || version.startsWith("2.");
    }
Docker Compose handler for allowing a docker-compose file to be used
to specify the docker images.
src/main/java/io/fabric8/maven/docker/config/handler/compose/DockerComposeConfigHandler.java