| Package | Description |
|---|---|
| com.atlassian.bamboo.docker | |
| com.atlassian.bamboo.v2.build.agent.docker |
| Modifier and Type | Method and Description |
|---|---|
@Nullable Integer |
DockerContainerServiceImpl.getHostPort(@NotNull ProcessContext processContext,
@NotNull Path dockerPath,
@NotNull String containerName,
@NotNull Integer containerPort,
@NotNull Path workingDirectory,
@NotNull Map<String,String> environment) |
@Nullable Integer |
DockerContainerService.getHostPort(@NotNull ProcessContext processContext,
@NotNull Path dockerPath,
@NotNull String containerName,
@NotNull Integer containerPort,
@NotNull Path workingDirectory,
@NotNull Map<String,String> environment)
Gets the host port mapped to the given container port.
|
boolean |
DockerContainerServiceImpl.isRunning(@NotNull ProcessContext processContext,
@NotNull Path dockerPath,
@NotNull String containerName,
@NotNull Path workingDirectory,
@NotNull Map<String,String> environment) |
boolean |
DockerContainerService.isRunning(@NotNull ProcessContext processContext,
@NotNull Path dockerPath,
@NotNull String containerName,
@NotNull Path workingDirectory,
@NotNull Map<String,String> environment)
Checks if a container with the given name is running.
|
void |
DockerContainerServiceImpl.remove(@NotNull ProcessContext processContext,
@NotNull Path dockerPath,
@NotNull String containerName,
@NotNull Path workingDirectory,
@NotNull Map<String,String> environment) |
void |
DockerContainerService.remove(@NotNull ProcessContext processContext,
@NotNull Path dockerPath,
@NotNull String containerName,
@NotNull Path workingDirectory,
@NotNull Map<String,String> environment)
Removes the container with the given name.
|
void |
DockerContainerServiceImpl.run(@NotNull ProcessContext processContext,
@NotNull Path dockerPath,
@NotNull String imageName,
@NotNull RunConfig runConfig,
@NotNull Path workingDirectory,
@NotNull Map<String,String> environment) |
void |
DockerContainerService.run(@NotNull ProcessContext processContext,
@NotNull Path dockerPath,
@NotNull String imageName,
@NotNull RunConfig runConfig,
@NotNull Path workingDirectory,
@NotNull Map<String,String> environment)
Start a Docker container for the image provided.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DockerContainerController.startContainerIfRequired() |
void |
DockerContainerControllerImpl.startContainerIfRequired() |
Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.