com.github.dockerjava.api.command.CreateImageCmd Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-java Show documentation
Show all versions of docker-java Show documentation
Java API Client for Docker
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