Sha256: 3b8adf2b16940758de9d6076faa88ed20b92e798430e4f59ecc64b27694eaa1a

Contents?: true

Size: 1.35 KB

Versions: 7

Compression:

Stored size: 1.35 KB

Contents

---
source:
  - https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-using-the-repository
  - https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04
tasks:
  - description: Updating apt package index
    task: remote_execute
    command: sudo apt-get update
  - description: Installing packages which let apt use packages over HTTPS
    task: remote_execute
    command:
      sudo apt-get install
        apt-transport-https
        ca-certificates
        curl
        gnupg-agent
        software-properties-common
  - description: Adding Docker’s official GPG key
    task: remote_execute
    command: curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
  - description: Adding the Docker repository to APT sources
    task: remote_execute
    command: sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
  - description: Updating apt package index
    task: remote_execute
    command: sudo apt-get update
  - description: Installing Docker
    task: remote_execute
    command: sudo apt install -y docker-ce docker-compose
  - description: Adding current user to the docker group
    task: remote_execute
    command: sudo usermod -aG docker ${USER}
  - description: Checking docker state
    task: remote_execute
    command: sudo systemctl status docker

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
vps-0.3.1 playbooks/install/docker/ubuntu-18.04.yml
vps-0.2.3 playbooks/install/docker/ubuntu-18.04.yml
vps-0.2.2 playbooks/install/docker/ubuntu-18.04.yml
vps-0.2.1 playbooks/install/docker/ubuntu-18.04.yml
vps-0.2.0 playbooks/install/docker/ubuntu-18.04.yml
vps-0.1.2 playbooks/install/docker/ubuntu-18.04.yml
vps-0.1.1 playbooks/install/docker/ubuntu-18.04.yml