public class DynamicDockerContainer extends DockerContainer
Dockerfileis not static but requires some knowledge of the environment it is going to run in. Before the image is created
process(String)will be called which can be used to replace place holders with given values or manipulate the docker file in anyother way.
|Constructor and Description|
|Modifier and Type||Method and Description|
Manipulates the provided Dockerfile contents.
assertRunning, close, cp, getCid, getIpAddress, getLogfile, getPid, inspect, ipBound, ipUdpBound, port, resource, sharingHostDockerService, toString, udpPort
@@DOCKER_HOST@@with the ip address of the machine running docker.
contents- the original contents of the Dockerfile
Copyright © 2004–2021. All rights reserved.