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?

AWSでamazon Linux 2023 で docker compose を動かす手順

0
Posted at

自己紹介

株式会社digitalbigmoのテクニカルサポートの小池@plinecomです。
最近はDeadline Cloud と日々戦っています

これは何?

AWSでamazon Linux 2023 で docker compose を動かす手順。
DNFで入らないので、一手間必要

Ansible Playbook

- name: Create plugin directory
  file:
    path: /usr/local/lib/docker/cli-plugins
    state: directory
    mode: '0755'

- name: Download docker compose plugin
  get_url:
    url: "https://github.com/docker/compose/releases/download/v2.27.0/docker-compose-linux-x86_64"
    dest: /usr/local/lib/docker/cli-plugins/docker-compose
    mode: '0755'

- name: Verify docker compose
  command: docker compose version
  register: result
  changed_when: false

何をやっているか

フォルダを作って、
/usr/local/lib/docker/cli-plugins
必要なファイルをダウンロードして、
https://github.com/docker/compose/releases/download/v2.27.0/docker-compose-linux-x86_64
起動確認をする。

Amazon Linux 2023のDNFリポジトリに最初から入れておいてくれるとありがたいんだけどなー

宣伝

株式会社digitalbigmoでは、ソフトの開発から、レンダーファームの構築まで手広くお仕事をしています。お困りの際はお気軽にお問い合わせください。相談は無料で承っております。

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?