public WatchService getWatchService() {
        checkDockerAccessInitialization();
        return watchService;
    }
The watch service is responsible for watching container status and rebuilding

@return the watch service
src/main/java/io/fabric8/maven/docker/service/ServiceHub.java