[Question] What happens when we run the dotnet app on the Docker container?
Hi @simongdavies
Thanks for the exciting project that you have worked on.
I have a little bit of concern about what happens when I package the Dotnet AspNetCore app and run it in a Docker container.
I have a look at the code at https://github.com/deislabs/wagi-dotnet/blob/main/source/wagi/Helpers/WAGIHost.cs#L95, and know that we will leverage the wasmtime-dotnet to invoke the WebAssembly app with wasm32-wasi binding and this process will invoke directly to OS APIs.
But let says if we try to run it on the Docker container, it might call invoke through AspNetCore app -> WAGI-dotnet -> wasmtime -> Docker container -> OS or AspNetCore app -> WAGI-dotnet -> wasmtime -> OS. What kind of scenario in here?
Hi @thangchung
I have not tried this, I will add a Docker test to the project but I believe that it should work as the WASM Host would provide the environment from the docker container