codedocu.de

Docker mit Asp .Net Core 

 

.Net 6 7 8

Fehlermeldung:

CTC1002     

Visual Studio container tools require Docker Desktop.  To get it, see https://go.microsoft.com/fwlink/?linkid=847268



 

https://www.docker.com/products/docker-desktop/

Docker mit Asp .Net Core

 

Dann starten von Docker Desktop:

docker run --name repo alpine/git clone https://github.com/docker/getting-started.git

 

docker cp repo:/git/getting-started/ .

 

The Getting Started project is a simple GitHub repository which contains everything you need to build an image and run it as a container.
Clone the repository by running Git in a container.

 

In dem Docker Terminal

Microsoft Windows [Version 10.0.19044.2604]

(c) Microsoft Corporation. Alle Rechte vorbehalten.

 

C:\Users\Raimund>docker run --name repo alpine/git clone https

://github.com/docker/getting-started.git

Unable to find image 'alpine/git:latest' locally

latest: Pulling from alpine/git

ca7dd9ec2225: Pull complete

eb878e0a08e4: Pull complete

b4f093b99828: Pull complete

Digest: sha256:66b210a97bc07bfd4019826bcd13a488b371a6cbe2630a4

b37d23275658bd3f2

Status: Downloaded newer image for alpine/git:latest

Cloning into 'getting-started'...

 

C:\Users\Raimund>docker cp repo:/git/getting-started/ .

 

C:\Users\Raimund>

Docker mit Asp .Net Core

 

cd getting-started

docker build -t docker101tutorial .

A Docker image is a private file system just for your container. It provides all the files and code your container needs.

Docker mit Asp .Net Core

 

 

Start a container based on the image you built in the previous step. Running a container launches your application with private resources, securely isolated from the rest of your machine.

Docker mit Asp .Net Core

 

Danach kann man as Image speichern und verteilen

Save and share your image on Docker Hub to enable other users to easily download and run the image on any destination machine.

Docker mit Asp .Net Core

 

 

Nach dem Anmelden kann man das kostenlose Personal verwenden

Docker mit Asp .Net Core

 

Danach ist auf
https://hub.docker.com

 der zentrale Anlaufplatz für Docker Repositories, downloads und mehr

Docker mit Asp .Net Core


Software Entwicklung Stuttgart Nürtingen
Suche Projekte C#, WPF, Windows App,ASP.Net, vb.Net, WinForms, SQL Server, Access, Excel