Uses of Class
org.eclipse.mosaic.lib.docker.DockerRun
Packages that use DockerRun
-
Uses of DockerRun in org.eclipse.mosaic.lib.docker
Methods in org.eclipse.mosaic.lib.docker that return DockerRunModifier and TypeMethodDescriptionDockerRun.currentUser()
Sets user to current user/group.Used to set the containers name.Adds an environmental parameter to the docker run command.DockerRun.portBinding
(int portHost, int portContainer) Adds an explicit port binding to this docker run command.DockerRun.removeAfterRun()
Marks the docker container to be removed after it has been run.DockerRun.removeBeforeRun()
If containers with the same name are already running, this method marks those containers to be removed beforehand.Compose a docker run command by calling this method, building your command, and eventually callingexecute()
.Sets the user and group of container.DockerRun.volumeBinding
(File localDir, String volumePath) Adds an explicit volume binding this docker run command.