# Windows10 Home に Docker 入れた時のメモ

Legacy desktop solution. Docker Toolbox is for older Mac and Windows systems that do not meet the requirements of Docker Desktop for Mac and Docker Desktop for Windows. We recommend updating to the newer applications, if possible.

# Docker Toolbox on windows マニュアル

公式英語版Install Docker Toolbox on Windows (opens new window)
windows10pro のバーチャル機能がなくても、CPU の仮想化(Virtualization)対応が必要。
タスクマネージャーから確認できるが、イメージ的に今の CPU みんな大丈夫。

# DockerToolbox Install

CPU の問題がなければ、Toolbox(231MB くらいある) ダウンロードしてインストール
Github DockerToolbox download (opens new window)
DockerToolbox-19.03.1.exe (opens new window)
DockerToolbox-19.03.1.pkg (opens new window)

インストール終わったら「Docker Quickstart Terminal」クリックして自動的に初期化、しばらく待ってたらクジラが出て完了!

Running pre-create checks...
(default) Image cache directory does not exist, creating it at C:\Users\ndd0033\.docker\machine\cache...
(default) No default Boot2Docker ISO found locally, downloading the latest release...
(default) Latest release for github.com/boot2docker/boot2docker is v19.03.1
(default) Downloading C:\Users\ndd0033\.docker\machine\cache\boot2docker.iso from https://github.com/boot2docker/boot2docker/releases/download/v19.03.1/boot2docker.iso...
(default) 0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
Creating machine...
(default) Copying C:\Users\ndd0033\.docker\machine\cache\boot2docker.iso to C:\Users\ndd0033\.docker\machine\machines\default\boot2docker.iso...
(default) Creating VirtualBox VM...
(default) Creating SSH key...
(default) Starting the VM...
(default) Check network to re-create if needed...
(default) Windows might ask for the permission to create a network adapter. Sometimes, such confirmation window is minimized in the taskbar.
(default) Found a new host-only adapter: "VirtualBox Host-Only Ethernet Adapter #3"
(default) Windows might ask for the permission to configure a network adapter. Sometimes, such confirmation window is minimized in the taskbar.
(default) Windows might ask for the permission to configure a dhcp server. Sometimes, such confirmation window is minimized in the taskbar.
(default) Waiting for an IP...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: C:\Program Files\Docker Toolbox\docker-machine.exe env default



                        ##         .
                  ## ## ##        ==
               ## ## ## ## ##    ===
           /"""""""""""""""""\___/ ===
      ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ /  ===- ~~~
           \______ o           __/
             \    \         __/
              \____\_______/

docker is configured to use the default machine with IP 192.168.99.100
For help getting started, check out the docs at https://docs.docker.com


Start interactive shell
$ docker -v
Docker version 19.03.1, build 74b1e89e8a

# Test Docker

$docker run hello-world

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/


$docker image ls
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
hello-world         latest              fce289e99eb9        7 months ago        1.84kB
2019-08-19
  • docker
  • server

関連記事

Laravel Address already in use の原因
AWS 504 Gateway Timeout エラー対応
デプロイツール Capistrano
AWS EC2 の amazon-linux-extras の話
AWS CloudWatch ログ監視で Lambda 処理
AWS Elastic Beanstalk 環境設定
Amazon DynamoDB 制限調査
Elastic Beanstalk \$\SERVER['REMOTEADDR'] 取得できない
AWS Elastic Beanstalk php.ini 設定変更
AWS SES メール開封確認  DB に集計
AWS のタイムゾーンを UTC 協定世界時から JST 日本標準時に変更
Shell と Bash のいろいろ
AWS Unresolved resource dependencies [AWSEBV2LoadBalancer] エラー
content-security-policy 設定
Centos7 Webserver 構築の時のメモ
DDNS 無料ダイナミック DNS サービス 4 つ
crontab 設定いろいろ
ディスク容量を確認する df コマンド
Windows の WSL Ubuntu で Docker を使う方法
Docker compose で LAMP 環境作成
Docker command でドッカー練習する時のメモ
Homebrew で Docker Desktop を再インストールエラー
Docker port error で起動できない
Docker Compose
Docker Supervisor 使ってバッチ処理
Docker の基本的な使い方
Docker WSL2 Laravel sail
VPS サーバーのセキュリティー fail2ban
ジェネレーティブ AI と大規模言語モデル(LLM)を学ぶためのリソース
Windows Mac Linux hosts ファイル場所
自宅サーバー構築!  Nextcloud で NAS クラウドストレージ
Nginx web サーバーのセキュリティ
Nginx 基本設定
Mac ターミナル SSH 接続設定
SPF メール送信なりすまし対策
メールサーバー移行と POP & IMAP 設定
robots.txt の書き方
youtube 見れるように vpn サーバー建ててみた
Ubuntu で Web サーバーを構築する手順
5 分で VPN サーバー立てる! wg-easy の使い方
よく使う WSL コマンド
xserver に nodejs インストール
積水ハウス 個人情報流出 SQL インジェクション攻撃か
xserver に vim インストール
レンタルサーバーなら xserver おすすめ理由
ZeroSSL で無料 SSL できるけど Let's Encrypt と比較
XZ Utils 事件対応
oh my zsh 使うべし
解決! xserver php バージョンアップした時に ssh 環境に反映されない
no such file or directory: /usr/share/zsh/vendor-completions/_docker
Vim 操作とショートカット