What is Working: Presently I'm using Visual Studio to successfully publish my ASP.NET Core web apps to Docker hub.
What I have tried that is NOT Working: The "dotnet publish" command is not doing the same job -- probably because I'm not specifying my docker hub account... After looking at the documentation, I don't see how I can specify my docker hub account.?
What I want: How can I write a script that does what the "publish" button does in visual studio (and publish to docker hub)?
You can use docker login -u YourDockerHubName command login.
docker login -u YourDockerHubName
1.4m articles
1.4m replys
5 comments
56.9k users