0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

AL2023でコンテナ利用する環境を作る

Posted at

タイムゾーン変更

$ sudo timedatectl set-timezone Asia/Tokyo

各種インストール前の準備

$ sudo dnf update

dockerインストール

$ sudo dnf install docker
$ sudo systemctl start docker
$ sudo gpasswd -a $(whoami) docker
$ sudo chgrp docker /var/run/docker.sock
$ sudo service docker restart
$ sudo systemctl enable docker

docker-composeインストール

$ sudo mkdir -p /usr/local/libexec/docker/cli-plugins
$ sudo curl -L https://github.com/docker/compose/releases/download/v2.29.3/docker-compose-linux-x86_64 -o /usr/local/libexec/docker/cli-plugins/docker-compose
$ sudo chmod 755 /usr/local/libexec/docker/cli-plugins/docker-compose

その後、再ログインでdocker version結果が表示されるか確認

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?