fromExisting

suspend fun fromExisting(context: DockerDaemon, containerName: String): DockerContainer?

Wraps a created container with containerName into a DockerContainer.

Return

DockerContainer representing the container, or null if the container does not already exist.