556 Views
June 11, 25
スライド概要
AlmaLinux on apple/container @blank71 2025-06-11
apple/container • https://github.com/apple/container • Apple 公式の Linux コンテナを動作させるためのツール 2
インストール • https://github.com/apple/container/releases からインストーラをダウンロードして macOS にインストール → container コマンドが使用できるようになる • https://github.com/apple/container/blob/main/docs/tutorial.md を参考に進めていく • コンテナを動作させるための Linux Kernel をインストールして container サービスを動作させる % container system start Verifying apiserver is running... Installing base container filesystem... No default kernel configured. Install the recommended default kernel from [https://github.com/kata-containers/katacontainers/releases/download/3.17.0/kata-static-3.17.0-arm64.tar.xz]? [Y/n]: y Installing kernel... 3
nginx 動作確認 4 % container image pull nginx # デフォルトのレジストラは docker.io に向いている % container image inspect nginx | jq -r '.[].name' docker.io/library/nginx:latest % container run --name httpd --detach --rm httpd % container ls ID IMAGE httpd docker.io/library/httpd:latest % open http://192.168.64.2 OS linux ARCH STATE ADDR arm64 running 192.168.64.2
AlmaLinux 10 で動作させてみる
% container image pull ghcr.io/almalinux/10-base
% container images ls
NAME
ghcr.io/almalinux/10-base
TAG
latest
DIGEST
85822230a37cc2e939559beb...
% container image inspect ghcr.io/almalinux/10-base | jq -r '.[].name'
ghcr.io/almalinux/10-base:latest
% container run --name al10 -it --rm ghcr.io/almalinux/10-base /bin/bash
# dnf install -y nginx
# nginx -g 'daemon off;'
5
# rpm -qi nginx
Name
: nginx
Epoch
: 2
Version
: 1.26.3
Release
: 1.el10
Architecture: aarch64
Install Date: Wed Jun 11 08:48:42 2025
Group
: Unspecified
Size
: 122717
License
: BSD-2-Clause
Signature : RSA/SHA256, Wed Mar 26
08:20:41 2025, Key ID dee5c11cc2a1e572
Source RPM : nginx-1.26.3-1.el10.src.rpm
Build Date : Tue Mar 25 16:28:16 2025
Build Host : arm-builder01.almalinux.org
Packager
: AlmaLinux Packaging Team
<[email protected]>
Vendor
: AlmaLinux
URL
: https://nginx.org
Summary
: A high performance web server
and reverse proxy server
Description :
Nginx is a web server and a reverse proxy
server for HTTP, SMTP, POP3 and
IMAP protocols, with a strong focus on high
concurrency, performance and low
memory usage.