🗂
DockerDesktopのインストール
はじめに
windows11 pro に DockerDesktop をインストールします。
PowerShell7 , wsk2 , ubuntu がインストール済みの状態です。
インストール
winget でインストールします。
winget search "Docker Desktop"
winget install --id Docker.DockerDesktop
デスクトップにショートカットが出来上がってた。
起動
タイトル画面が出て、次になんか出たけど、右上に Skip ってあるので、 Skip してみた。
次の画面も Skip
これがメイン画面なのかな?昔とずいぶん変わったなぁ。
hello
powershell7 で以下を実行してみるといいらしい。
docker run hello-world
PowerShell 7.5.1
PS C:\Users\yukip> docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
e6590344b1a5: Pull complete
Digest: sha256:0b6a027b5cf322f09f6706c754e086a232ec1ddba835c8a15c6cb74ef0d43c29
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
(amd64)
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.
To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker ID:
https://hub.docker.com/
For more examples and ideas, visit:
https://docs.docker.com/get-started/
PS C:\Users\yukip>
なんかいっぱいでたけど、とりあえず動いたみたいです。コンテナも作られていました。
おわり
とりあえず、以上かな。
Discussion