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

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

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

import java.io.InputStream;

public interface CreateImageCmd extends DockerCmd {

	public String getRepository();

	// TODO remove method
	public String getTag();
	
	public InputStream getImageStream();

	/**
	 * @param repository        the repository to import to
	 */
	public CreateImageCmd withRepository(String repository);

	/**
	 * @param imageStream       the InputStream of the tar file
	 */
	public CreateImageCmd withImageStream(InputStream imageStream);

	/**
	 * @param tag               any tag for this image
	 * @deprecated 				use repo:tag format for repository
	 */
	public CreateImageCmd withTag(String tag);
	
	public static interface Exec extends DockerCmdExec {
	}


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy