Open DustinReagan opened 2 years ago
Hi @DustinReagan and thanks for the report!
I'll add support for interactive for fluent API on my TODO list.
When it comes to use a docker file, the documentation states the below - doesn't this work?
using (var services = new Builder()
.DefineImage("mariotoffia/nodetest").ReuseIfAlreadyExists()
.FromFile("/tmp/Dockerfile")
.Build().Start())
{
// Container either build to reused if found in registry and started here.
}
It can be found under Using the Fluent API
Cheers, Mario :)
@mariotoffia Oh, I apologize for missing that in the docs, thanks!
I'm currently unable to replicate the following non-fluent code in the Fluent API:
Here's what I've tried:
When I try this I get error messages similar to :
Error response from daemon: Container e0e92da3262235e7d970ef588910e6bb4fa04c195ea6d9757285c08837aaeed7 is not running
.I can't seem to find how to run the container in interactive mode in the Fluent API.
Finally, how do I simply run an existing Dockerfile using the Fluent API? I've looked through the examples and APIs and can't seem to find how to do this.