[アップデート] Finch が Ubuntu で APT 経由からインストール可能になりました

[アップデート] Finch が Ubuntu で APT 経由からインストール可能になりました

2025.07.06

こんにちは!クラウド事業本部コンサルティング部のたかくに(@takakuni_)です。

先日、Finch が Ubuntu で APT 経由からインストール可能になりました。

https://aws.amazon.com/about-aws/whats-new/2025/06/finch-ubuntu-streamlining-container-development-across-platforms/

どんなアップデートなのでしょうか。

アップデート内容

Finch は AWS が発表した Linux コンテナのビルド、実行、公開などを行うことができるコンテナ開発用のクライアントツールです。

https://runfinch.com/

2022 年 11 月に発表され、かれこれ 2 年半が経過しています。

https://aws.amazon.com/jp/blogs/news/introducing-finch-an-open-source-client-for-container-development/

今回のアップデートの説明に入ります。

これまで Ubuntu から Finch を利用するには、ソースからビルドして利用する必要がありましたが、今回のアップデートによって APT(パッケージマネージャー)を使って簡単にインストール可能になったというものです。

Previously, Ubuntu users needed to build Finch from source and handle dependency management, which required additional setup time and coordination across development teams. Now, they can easily install Finch using Ubuntu's APT package manager.

https://aws.amazon.com/jp/about-aws/whats-new/2025/06/finch-ubuntu-streamlining-container-development-across-platforms/

Amazon Linux の YUM 経由対応に続いて 2 番目のサポートです。

https://aws.amazon.com/jp/blogs/opensource/announcing-finch-on-linux-for-container-development/

やってみる

早速、Ubuntu から、以下のコマンドで Finch をインストールします。今回は x86_64 のインスタンスを利用しました。

# GPGキーを追加
curl -fsSL https://artifact.runfinch.com/deb/GPG_KEY.pub | sudo gpg --dearmor -o /usr/share/keyrings/runfinch-finch-archive-keyring.gpg

# リポジトリを追加
echo "deb [signed-by=/usr/share/keyrings/runfinch-finch-archive-keyring.gpg arch=amd64] https://artifact.runfinch.com/deb noble main" | sudo tee /etc/apt/sources.list.d/runfinch-finch.list

# パッケージリストを更新
sudo apt update

# Finchをインストール
sudo apt install runfinch-finch

# Finch のバージョン確認

ログを確認すると Finch v1.9.0 がインストールされていますね。本当にサクッとインストールできました。

ssm-user@ip-10-0-4-37:~$ # GPGキーを追加
curl -fsSL https://artifact.runfinch.com/deb/GPG_KEY.pub | sudo gpg --dearmor -o /usr/share/keyrings/runfinch-finch-archive-keyring.gpg

# リポジトリを追加
ssm-user@ip-10-0-4-37:~$ echo "deb [signed-by=/usr/share/keyrings/runfinch-finch-archive-keyring.gpg arch=amd64] https://artifact.runfinch.com/deb noble main" | sudo tee /etc/apt/sources.list.d/runfinch-finch.list

# パッケージリストを更新
sudo apt update

# Finchをインストール
sudo apt install runfinch-finch
deb [signed-by=/usr/share/keyrings/runfinch-finch-archive-keyring.gpg arch=amd64] https://artifact.runfinch.com/deb noble main
Hit:1 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:3 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu noble-security InRelease
Ign:5 https://artifact.runfinch.com/deb noble InRelease
Get:6 https://artifact.runfinch.com/deb noble Release [1194 B]
Get:7 https://artifact.runfinch.com/deb noble Release.gpg [650 B]
Get:8 https://artifact.runfinch.com/deb noble/main amd64 Packages [392 B]
Fetched 2236 B in 2s (1199 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
34 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  containerd runc
The following NEW packages will be installed:
  containerd runc runfinch-finch
0 upgraded, 3 newly installed, 0 to remove and 34 not upgraded.
Need to get 197 MB of archives.
After this operation, 172 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu noble-updates/main amd64 runc amd64 1.2.5-0ubuntu1~24.04.1 [8043 kB]
Get:2 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu noble-updates/main amd64 containerd amd64 1.7.27-0ubuntu1~24.04.1 [37.7 MB]
Get:3 https://artifact.runfinch.com/deb noble/main amd64 runfinch-finch amd64 1.9.0 [151 MB]
Fetched 197 MB in 5s (38.1 MB/s)
Selecting previously unselected package runc.
(Reading database ... 70690 files and directories currently installed.)
Preparing to unpack .../runc_1.2.5-0ubuntu1~24.04.1_amd64.deb ...
Unpacking runc (1.2.5-0ubuntu1~24.04.1) ...
Selecting previously unselected package containerd.
Preparing to unpack .../containerd_1.7.27-0ubuntu1~24.04.1_amd64.deb ...
Unpacking containerd (1.7.27-0ubuntu1~24.04.1) ...
Selecting previously unselected package runfinch-finch.
Preparing to unpack .../runfinch-finch_1.9.0_amd64.deb ...
Unpacking runfinch-finch (1.9.0) ...
Setting up runc (1.2.5-0ubuntu1~24.04.1) ...
Setting up containerd (1.7.27-0ubuntu1~24.04.1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service/usr/lib/systemd/system/containerd.service.
Setting up runfinch-finch (1.9.0) ...
Processing triggers for man-db (2.12.0-4build2) ...
Scanning processes...
Scanning linux images...

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
finch version v1.9.0
ssm-user@ip-10-0-4-37:~$ sudo finch --version
finch version v1.9.0

Finch がインストールできたので、いつものように finch vm init を実行したら、怒られてしまいました。

ssm-user@ip-10-0-4-37:~$ sudo finch vm init
FATA[0000] unknown command "vm" for "finch"

Did you mean this?
        ps
        rmi
        cp
        rm

過去ブログを読んで気がついたのですが、Linux の場合は中間仮想化レイヤーを使用せずに、直接 nerdctl や containerd を操作するようで、仮想化の必要がないオチでした。(macOS でいつも利用していたため、vm の管理しなくて良い面に感動しました。)

Finch on macOS and Windows uses an intermediate component Lima. Through Lima, Finch uses virtualization technology (QEMU or Virtualization Framework on macOS; WSL2 on Windows). This allows Finch to access the necessary Linux primitives, such as namespaces, which are required for containerization technology.

On Linux, Finch can directly utilize fundamental Kernel capabilities such as namespaces and cgroups to interact with low level components such as nerdctl and containerd without having to use an intermediary virtualization layer.

https://aws.amazon.com/jp/blogs/opensource/announcing-finch-on-linux-for-container-development/

最後にコンテナ起動も問題なさそうですね!

ssm-user@ip-10-0-4-37:~$ sudo finch container run --name finch-container --rm public.ecr.aws/finch/hello-finch:latest
public.ecr.aws/finch/hello-finch:latest:                                          resolved       |++++++++++++++++++++++++++++++++++++++|
index-sha256:a71e474da9ffd6ec3f8236dbf4ef807dd54531d6f05047edaeefa758f1b1bb7e:    done           |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:2f848edb93f7d0cfa20d7dc7add84586fe06d258d6dd54422d8015c584ff3b9e: done           |++++++++++++++++++++++++++++++++++++++|
config-sha256:50c36f221209ea6829db90eff11db167d8cc22abf7c2c0f1e7f4a0c701c0592f:   done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:cb7e3bc996dd3208c5b4560d5f6571486e2fe90b5a1cc384e2d6af0dc07de02a:    done           |++++++++++++++++++++++++++++++++++++++|
elapsed: 3.3 s                                                                    total:  1.0 Mi (322.3 KiB/s)

                            @@@@@@@@@@@@@@@@@@@
                        @@@@@@@@@@@@    @@@@@@@@@@@
                      @@@@@@@                  @@@@@@@
                    @@@@@@                        @@@@@@
                  @@@@@@                            @@@@@
                 @@@@@                      @@@#     @@@@@@@@@
                @@@@@                     @@   @@@       @@@@@@@@@@
                @@@@%                     @     @@            @@@@@@@@@@@
                @@@@                                               @@@@@@@@
                @@@@                                         @@@@@@@@@@@&
                @@@@@                                  &@@@@@@@@@@@
                 @@@@@                               @@@@@@@@
                  @@@@@                            @@@@@(
                   @@@@@@                        @@@@@@
                     @@@@@@@                  @@@@@@@
                        @@@@@@@@@@@@@@@@@@@@@@@@@@
                            @@@@@@@@@@@@@@@@@@


Hello from Finch!

Visit us @ github.com/runfinch

ssm-user@ip-10-0-4-37:~$

まとめ

以上、「Finch が Ubuntu で APT 経由からインストール可能になりました」でした。

ビルドスクリプトなしでサクッとインストールできるのは良いですね。カーネルを直接利用する面もセットアップ楽だなと思いました。

クラウド事業本部コンサルティング部のたかくに(@takakuni_)でした!

この記事をシェアする

facebookのロゴhatenaのロゴtwitterのロゴ

© Classmethod, Inc. All rights reserved.