docker-compose

Ansible Role: Docker and Docker Compose setup

Install and Setup Docker and Docker Compose on any Ubuntu Linux system.

This Ansible role will perform all necessary tasks to setup and run Docker and Docker Compose:

  • Install packages necessary for APT to use a repository over HTTPS.
  • Add and setup official Docker APT repositories.
  • Install packages needed for AUFS storage drivers.
  • Add user to Docker group.

This role was created as part of containerized-wordpress-project

Requirements

None.

Role Variables

If you want to change user which will be added to Docker group change contents of system_user variable (see: defaults/main.yml)

system_user: docker

Dependencies

None.

Example Playbook

- hosts: servers
  remote_user: "{{ system_user }}"
  gather_facts: yes
  become: yes

  roles:
    - { role: AdnanHodzic.docker-compose }

License

GPLv3

Since I'm working on this project in free time, please consider supporting this project by making a donation of any amount!

PayPal

paypal

BitCoin

bc1qlncmgdjyqy8pe4gad4k2s6xtyr8f2r3ehrnl87

bitcoin

About

Install and setup Docker and Docker Compose on any version of Debian and Ubuntu Linux system.

Install
ansible-galaxy install AdnanHodzic/ansible-role-docker-compose-setup
GitHub repository
License
gpl-3.0
Downloads
335
Owner
Tech Lead at ING (DAP) Public Cloud area. Created few cool Open Source projects. Ex Debian Linux contributor, read more on: https://adnan.hodzic.org