0:50 日記のマークアップミスを修正したら GitHub のほうに pull request が来ている。ビルドツールの一部にセキュリティー上の不具合があるから直せとボットから。

Install Docker Engine on Ubuntu | Docker Docs のアンインストール手順を実施。クリーンな状態を確保してからインストールしたい。

2:20 消灯。就寝。

7:05 起床。納豆、梅粥、バナナ。歯を磨く。出勤。雨がどうなるかわからないがゴム長装備。

7:45 現場。可燃ゴミの日。ゴミ処理中に雨が強くなったり弱くなったり。プラスチックゴミの処理がどうにも楽にならない。

11:05 撤収。雨が止んでくる。

11:15 ビッグエー墨田京島店。612 円。

  • サッポロポテトバーベ Q
  • オニオンとレタスのミックスサラダ
  • 大根と水菜のミックスサラダ
  • バナナ (3)
  • 絹豆腐 (3)
  • 梅粥

曳舟の部屋。PC を開く。

藤井曲線で名人初防衛!藤井八冠vs豊島九段【みんなの反応】 : ホットドッグは飲み物。

転職・求人情報サイトの type を開く。AI おすすめをチェック。

12:00 軽食。豆腐、カットサラダ、うどん、サッポロ、バナナ。

12:45 歯を磨く。Install Docker Engine on Ubuntu を WSL 環境で実施。つまり GUI を使わずに学習したい。

ファイル /etc/apt/sources.list.d/docker.list を作成して apt install で関連パッケージをインストールする。

Docker daemon とやらを手動で開始する必要があったが、hello-world が走る:

sudo docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
c1ec31eb5944: Pull complete
Digest: sha256:266b191e926f65542fa8daaec01a192c4d292bff79426f47300a046e1bc576fd
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/

よく見たら現在使用者が docker グループにいるので sudo は不要。

14:40 排便。Containerize an application を実施。すんなり動作する。

16:30 昼寝。

携帯電話をチェックしたら先週求人応募した会社から不採用通知。あちゃあ。

19:50 起床。外出。雨が強い。まだゴム長か。

20:10 コモディイイダ東向島店。弁当がない。菓子パンを買い置きしておく。295 円。

  • 小倉つぶあんパン
  • 生メロンパンショコラ
  • ホイップあんパン

20:20 まいばすけっと東武曳舟駅西店。430 円。

  • 特盛ペペロンチーノ

曳舟の部屋。入浴。

風呂から出る。PC を開く。晩飯。豆腐、カットサラダ、ペペロンチーノ、つぶあんパン。

21:45 歯を磨く。M リーグの表彰式を聞きながら Docker を習う。

【感動をもう一度】Mリーグ2023-24 表彰式の様子を公開! | #Mリーグ #麻雀

Docker チュートリアル再開。JavaScript コードを編集してビルドするところ。さっきもそうだったが、パッケージを fetch するのに時間がかかる。ダウンロードするファイルサイズがいつも二桁メガバイトの規模だ。

Docker Hub アカウントを sign up する。その過程で Gravater の存在を思い出す。手許のアカウント台帳にも記載していなかった古のアカウントを。

コマンド docker login で入力したパスワードが平文で保存されることを忘れるな。後でなんとかする。

22:55 図書館逃避行ビデオが溜まっていたのを思い出す。

23:10 投稿。

Docker に戻って Persist the DB を習う。データ永続化のためにボリュームという機能を用いる。本題とは少し外れるが、SQLite を採用する基準がわかった。

23:50 Use bind mounts クリア。Docker の威力の一端を理解した。人気があるのは納得だ。期せずして Ubuntu 24 を触ることができた。