basisconfig.docker

Ansible ロール: Docker エンジン

RHEL/CentOS/Fedora と Debian/Ubuntu に Docker エンジンをインストールする Ansible ロールです。

Ansible Galaxy

タグ:

変数:

  • docker_version: '' - Docker エンジンの特定のバージョンを設定します。リポジトリにある利用可能なバージョンをリストし、その中から選択してください。

例:

docker_version: "18.09.1" # CentOS
docker_version: "5:18.09.1~3-0~debian-stretch" # Debian
docker_version: "3:18.09.1" # Fedora
docker_version: "5:18.09.1~3-0~ubuntu-xenial" # Ubuntu
  • docker_options: '' - daemon.json のオプションを定義します。

例:

docker_options:
   bip: "172.17.0.1/16"
   exec-opts: ["native.cgroupdriver=systemd"]
   log-driver: "json-file"
   log-opts: {"max-size": "100m"}
   storage-driver: "overlay2"
   storage-opts: ["overlay2.override_kernel_check=true"]

ライセンス

MIT

ドキュメンテーションは Ansible-autodoc を使用して生成されました。

プロジェクトについて

An Ansible Role that installs Docker Engine on RHEL/CentOS/Fedora and Debian/Ubuntu.

インストール
ansible-galaxy install basisconfig.docker
ライセンス
Unknown
ダウンロード
180