Package | Description |
---|---|
org.springframework.boot.buildpack.platform.docker |
A limited Docker API providing the operations needed by pack.
|
org.springframework.boot.buildpack.platform.docker.type |
Docker types.
|
Modifier and Type | Method and Description |
---|---|
ContainerReference |
DockerApi.ContainerApi.create(ContainerConfig config,
ContainerContent... contents)
Create a new container a
ContainerConfig . |
Modifier and Type | Method and Description |
---|---|
void |
DockerApi.ContainerApi.logs(ContainerReference reference,
UpdateListener<LogUpdateEvent> listener)
Return and follow logs for a specific container.
|
void |
DockerApi.ContainerApi.remove(ContainerReference reference,
boolean force)
Remove a specific container.
|
void |
DockerApi.ContainerApi.start(ContainerReference reference)
Start a specific container.
|
ContainerStatus |
DockerApi.ContainerApi.wait(ContainerReference reference)
Wait for a container to stop and retrieve the status.
|
Modifier and Type | Method and Description |
---|---|
static ContainerReference |
ContainerReference.of(String value)
Factory method to create a
ContainerReference with a specific value. |