/** * Remove the volumes associated to the container. If not specified, defaults to false. * * @param remove Whether to remove volumes * @return RemoveContainerParam */ public static RemoveContainerParam removeVolumes(final boolean remove) { return create("v", remove ? "1" : "0"); }
/** * Kill then remove the container. If not specified, defaults to false. * * @param force Whether to force kill before removing. * @return RemoveContainerParam */ public static RemoveContainerParam forceKill(final boolean force) { return create("force", force ? "1" : "0"); } }
/** * Kill then remove the container. If not specified, defaults to false. * * @param force Whether to force kill before removing. * @return RemoveContainerParam */ public static RemoveContainerParam forceKill(final boolean force) { return create("force", force ? "1" : "0"); } }
/** * Remove the volumes associated to the container. If not specified, defaults to false. * * @param remove Whether to remove volumes * @return RemoveContainerParam */ public static RemoveContainerParam removeVolumes(final boolean remove) { return create("v", remove ? "1" : "0"); }