All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.dockerjava.api.command.WaitContainerCmd Maven / Gradle / Ivy

There is a newer version: 3.4.1
Show newest version
package com.github.dockerjava.api.command;

import com.github.dockerjava.api.NotFoundException;

/**
 * Wait a container
 * 
 * Block until container stops, then returns its exit code
 */
public interface WaitContainerCmd extends DockerCmd {

	public String getContainerId();

	public WaitContainerCmd withContainerId(String containerId);
	
	/**
	 * @throws NotFoundException container not found
	 */
	@Override
	public Integer exec() throws NotFoundException;
	
	public static interface Exec extends DockerCmdExec {
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy