リポジトリ登録
1 |
sudo dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo |
dockerインストール
1 |
sudo dnf -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin |
docker-composeインストール
1 2 3 |
curl -L https://github.com/docker/compose/releases/download/v2.3.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose docker-compose --version |