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 String
COPY_CONTAINER_COMMAND
static String
CREATE_CONTAINER_COMMAND
static String
DEST_PARAM
static String
IMAGE_PARAM
static String
NAME_PARAM
static String
REMOVE_CONTAINER_COMMAND
static String
SOURCE_PARAM
-
Constructor Summary
Constructors Constructor Description DockerHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExecResult
CopyData(String source, String destination)
static ExecResult
CreateContainer(String name, String image)
static ExecResult
RemoveContainer(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
-
-
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)
-
-