Class DockerHelper
- java.lang.Object
-
- org.nuxeo.ecm.platform.threed.convert.DockerHelper
-
public class DockerHelper extends Object
Helper class to get java runtime owner user id- Since:
- 8.10
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOPY_CONTAINER_COMMANDstatic StringCREATE_CONTAINER_COMMANDstatic StringDEST_PARAMstatic StringIMAGE_PARAMstatic StringNAME_PARAMstatic StringREMOVE_CONTAINER_COMMANDstatic StringSOURCE_PARAM
-
Constructor Summary
Constructors Constructor Description DockerHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExecResultCopyData(String source, String destination)static ExecResultCreateContainer(String name, String image)static ExecResultRemoveContainer(String name)
-
-
-
Field Detail
-
CREATE_CONTAINER_COMMAND
public static final String CREATE_CONTAINER_COMMAND
- See Also:
- Constant Field Values
-
REMOVE_CONTAINER_COMMAND
public static final String REMOVE_CONTAINER_COMMAND
- See Also:
- Constant Field Values
-
COPY_CONTAINER_COMMAND
public static final String COPY_CONTAINER_COMMAND
- See Also:
- Constant Field Values
-
NAME_PARAM
public static final String NAME_PARAM
- See Also:
- Constant Field Values
-
IMAGE_PARAM
public static final String IMAGE_PARAM
- See Also:
- Constant Field Values
-
SOURCE_PARAM
public static final String SOURCE_PARAM
- See Also:
- Constant Field Values
-
DEST_PARAM
public static final String DEST_PARAM
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DockerHelper
public DockerHelper()
-
-
Method Detail
-
CreateContainer
public static ExecResult CreateContainer(String name, String image)
-
RemoveContainer
public static ExecResult RemoveContainer(String name)
-
CopyData
public static ExecResult CopyData(String source, String destination)
-
-