FreeBSD 12.3-RELEASE amd64 で Docker を動かすためのソフトウェアをインストール ― 2022年07月26日 12時13分01秒
- pkg install virtualbox
- pkg install docker
- pkg install docker-machine
FreeBSD で VirtualBox のホストとして設定するにまとめてある。他にも設定の仕方を説明しているサイトは幾つかある。
docker と docker-machine のインストールは pkg から簡単に出来る。
# pkg install docker
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
docker: 18.09.5_1
Number of packages to be installed: 1
The process will require 46 MiB more space.
9 MiB to be downloaded.
Proceed with this action? [y/N]: y
[1/1] Fetching docker-18.09.5_1.pkg: 100% 9 MiB 2.0MB/s 00:05
Checking integrity... done (0 conflicting)
[1/1] Installing docker-18.09.5_1...
[1/1] Extracting docker-18.09.5_1: 100%
=====
Message from docker-18.09.5_1:
--
This port contains Docker client only.
For Docker server support, install docker-machine.
--
===> NOTICE:
The docker port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:
https://bugs.freebsd.org/bugzilla
More information about port maintainership is available at:
https://docs.freebsd.org/en/articles/contributing/#ports-contributing
# pkg install docker-machine
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
docker-machine: 0.16.2_1
Number of packages to be installed: 1
The process will require 25 MiB more space.
4 MiB to be downloaded.
Proceed with this action? [y/N]: y
[1/1] Fetching docker-machine-0.16.2_1.pkg: 100% 4 MiB 917.9kB/s 00:05
Checking integrity... done (0 conflicting)
[1/1] Installing docker-machine-0.16.2_1...
[1/1] Extracting docker-machine-0.16.2_1: 100%
=====
Message from docker-machine-0.16.2_1:
--
===> NOTICE:
The docker-machine port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:
https://bugs.freebsd.org/bugzilla
More information about port maintainership is available at:
https://docs.freebsd.org/en/articles/contributing/#ports-contributing
終ってまとめてみると結構簡単。実験中はあれこれ入れたり、消したり、エラーが出るので調べたり、どれが本当に必要なのかいまいち分からず、手間がかかった。
前回。
コメント
トラックバック
このエントリのトラックバックURL: http://uyota.asablo.jp/blog/2022/07/26/9512208/tb
※なお、送られたトラックバックはブログの管理者が確認するまで公開されません。
コメントをどうぞ
※メールアドレスとURLの入力は必須ではありません。 入力されたメールアドレスは記事に反映されず、ブログの管理者のみが参照できます。
※なお、送られたコメントはブログの管理者が確認するまで公開されません。