IContainerRuntime
Interfacenet10.0
Represents a container runtime (e.g., Docker, Podman) that can be used to build, tag, push, and manage container images.
namespace Aspire.Hosting.Publishing;
public interface IContainerRuntime{ // ...}10 members
Properties1
Section titled PropertiesView all properties
Methods9
Section titled MethodsTask Builds a container image from a Dockerfile.
Task<bool> Checks if the container runtime is running and available.
Task Stops and removes compose services.
Task<IReadOnlyList<ComposeServiceInfo>> Lists the running services in a compose environment with their port mappings.
Task Starts compose services in detached mode.
Task Logs in to a container registry.
Task Tags a container image with a new name.