1/3/2023 0 Comments Docker for windows vs dockerIf you choose Windows then it will download and use the Windows Nano-server image instead to run your container in. If you wish to use Linux ensure you go into Hyper-V first and turn on your Linux image that has been added to it by Docker – For me it is called MobyLinuxVM. When you first set up Docker you will be prompted to choose which of the two OS images you want to install and build your Docker containers (containing your apps) to, Linux or Windows. Switching between Linux and Windows (Nanoserver) for an Existing. Scroll down and click “Add” -> “Docker Support”.Right click on the project you wish to add to docker.Once you create a new Application in Visual Studio 2017 (or open existing) all you need to do to add docker support is to: You will also need to enable Hyper-V Virtual Machine manager on your machine – Docker or Visual Studio will probably prompt you to do this anyway. As I am running a Windows machine I installed Docker for Windows. Switching between Linux and Windows OS to run your Docker Container Getting Started with Docker and Microservices in Visual Studio 2017: Part 1īefore you do anything else be sure to install Docker on your local machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |