Starting a Docker file with Docker.DotNet

27 Views Asked by At

Is there anyway to start a Docker container defined by a Docker file using Docker.DotNet? I found the BuildImageFromDockerfileAsync method, but that seems to be expecting a stream of a tar file. I just want to start a Docker file, or even better, a Docker compose file.

1

There are 1 best solutions below

0
Jonathan Byrne On BEST ANSWER

Docker.DotNet is only a .NET wrapper for the Docker RESTful API. It does not allow you to use Docker CLI tools programatically.