Apologies for the n00b question, but after years of successfully running self-hosted ServiceStack apps from the 3.x days, I’m trying to jump into hosting SS aps using docker, and I’ll admit to being relatively new to hands-on with docker.
Here’s where I’m currently stuck:
create from template, edit and can successfully run the .net core self-host & scripts sample apps
can build docker image (using the nice VS Code plugin)
noticed that the VS Code docker plugin does not easily support adding -p flags for the API ports… so using VS Code terminal window to run:
docker run -dp 5001:5001 selfhosted:latest
runs, no errors. Shows up as running in the Windows Docker app
fails when trying to go to
https://localhost:5001/hello/test
in the browser.
Any advice on what I might be doing wrong, or thoughts as to why I can’t access the API? Was kinda hoping for a hello-world docker kickstart rather than the rather lengthy Travis/ECS guide.
According to this Tutorial: Get started with Docker apps in Visual Studio Code, that’s the last step.
Appreciate it, thanks!