LoginSignup
0
0

More than 3 years have passed since last update.

Docker Composeをインストールしよう(CentOS8)

Last updated at Posted at 2020-05-13

構築環境

$ cat /etc/redhat-release
CentOS Linux release 8.1.1911 (Core)

インストール

公式手順:https://docs.docker.com/compose/install/
非公式翻訳手順:http://docs.docker.jp/compose/install.html

現在の安定版Docker Composeをダウンロードする

$ curl -L "https://github.com/docker/compose/releases/download/1.25.5/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

ダウンロードしたDocker Composeのバイナリに対して、実行権限を付与する

$ chmod +x /usr/local/bin/docker-compose

インストールを確認する

$ docker-compose --version
docker-compose version 1.25.5, build 8a1c60f6

これで完了。めっちゃ簡単だね!!!

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