This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# systemd-containerパケージをインストール | |
apt install systemd-container | |
# パッケージマネージャーのインストール | |
apt install dnf debootstrap | |
# コンテナ名 | |
CONTAINER_NAME=debian11 | |
# Debian 11 bullseye インストール |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# systemd-containerパケージをインストール | |
apt install systemd-container | |
# パッケージマネージャーのインストール | |
apt install dnf debootstrap | |
# コンテナ名 | |
CONTAINER_NAME=ubuntu2004 | |
# Ubuntu 20.04 LTS focal インストール |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# systemd-containerパケージをインストール | |
apt install systemd-container | |
# パッケージマネージャーのインストール | |
apt install dnf debootstrap | |
# BaseOS repo 作成 | |
cat<<"EOF">/etc/yum.repos.d/CentOS8-Linux-BaseOS.repo | |
[baseos] | |
name=CentOS Stream 8 - BaseOS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# systemd-containerパケージをインストール | |
apt install systemd-container | |
# パッケージマネージャーのインストール | |
apt install dnf debootstrap | |
# Base repo 作成 | |
cat<<"EOF">/etc/yum.repos.d/CentOS7-Base.repo | |
[base] | |
name=CentOS-7 - Base |