Launch Docker containers under Windows

Diese Seite gibt es auch in Deutsch

Docker containers can now also be run on Windows, essentially all that is required is the installation of "Docker Desktop".

Download and installation

Installing Docker on Windows:

Start Container

PS C:\Users\user> docker run -d -p 80:80 docker/getting-started
Unable to find image 'docker/getting-started:latest' locally
latest: Pulling from docker/getting-started
cbdbe7a5bc2a: Pull complete
85434292d1cb: Pull complete
75fcb1e58684: Pull complete
2a8fe5451faf: Pull complete
42ceeab04dd4: Pull complete
bdd639f50516: Pull complete
c446f16e1123: Pull complete
Digest: sha256:79d5eae6e7b1dec2e911923e463240984dad111a620d5628a5b95e036438b2df
Status: Downloaded newer image for docker/getting-started:latest

Docker Desktop shows us an overview of the running containers:

Docker can of course also be managed using the command line commands, as you are used to from Linux.
The command "docker ps" can be used, for example, to display the running containers:

PS C:\Users\user> docker ps
CONTAINER ID        IMAGE                    COMMAND                  CREATED             STATUS              PORTS                NAMES
007264e9aaa1        docker/getting-started   "/docker-entrypoint.…"   2 minutes ago       Up About a minute>80/tcp   quizzical_neumann



positive Bewertung({{pro_count}})
Rate Post:
{{percentage}} % positive
negative Bewertung({{con_count}})

THANK YOU for your review!

Publication: 05.05.2022 from Bernhard

Questions / Comments

By continuing to browse the site, you agree to our use of cookies. More Details