public class DynamicDockerContainer extends DockerContainer
Dockerfile is 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 |
|---|
DynamicDockerContainer() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
process(String contents)
Manipulates the provided Dockerfile contents.
|
assertRunning, close, cp, getCid, getIpAddress, getLogfile, getPid, inspect, ipBound, ipUdpBound, port, resource, sharingHostDockerService, toString, udpPortprotected String process(String contents)
@@DOCKER_HOST@@ with the ip address of the machine running docker.contents - the original contents of the DockerfileCopyright © 2004–2018. All rights reserved.