public void removeContainer(String containerId, boolean removeVolumes) throws DockerAccessException {
        docker.removeContainer(containerId, removeVolumes);
    }
Remove a container.

@param containerId the container id
@param removeVolumes whether to remove volumes with container

@throws DockerAccessException if access to the docker backend fails
src/main/java/io/fabric8/maven/docker/service/RunService.java