Install Docker on Remote Server using Ansible

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Docker Compose

    Define and run multi-container applications with Docker

  • --- - name: Add Docker GPG apt Key ansible.builtin.apt_key: url: https://download.docker.com/linux/ubuntu/gpg state: present - name: Add repository into sources list ansible.builtin.apt_repository: repo: deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ ansible_lsb.codename }} stable state: present filename: docker - name: Install Docker 23.0.1-1 ansible.builtin.apt: name: - docker-ce=5:23.0.1-1~ubuntu.22.04~jammy - docker-ce-cli=5:23.0.1-1~ubuntu.22.04~jammy - containerd.io state: present update_cache: true - name: Setup docker user ansible.builtin.user: name: docker groups: "docker" append: true sudo_user: yes - name: Install Docker module for Python ansible.builtin.pip: name: docker - name: Install Docker-Compose&Set Permission ansible.builtin.get_url: url: https://github.com/docker/compose/releases/download/1.29.2/docker-compose-Linux-x86_64 dest: /usr/local/bin/docker-compose mode: '755' - name: Create Docker-Compose symlink ansible.builtin.command: cmd: ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose creates: /usr/bin/docker-compose - name: Add private registry ansible.builtin.template: src: daemon.j2 dest: /etc/docker/daemon.json mode: preserve - name: Restart Docker ansible.builtin.service: name: docker state: restarted enabled: true

  • ansible-stuff

  • NB: In this case, I just set the user as root. I installed the Docker on Ubuntu Server 22.04. For full code follow this link ansible-docker.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Docker and WSL2 without Docker Desktop

    2 projects | dev.to | 9 May 2024
  • Deploy a Grafana dashboard with Docker on AWS EC2

    2 projects | dev.to | 7 May 2024
  • Docker Compose: `version` is obsolete

    1 project | news.ycombinator.com | 29 Apr 2024
  • Live reload em Go com docker e compile daemon

    4 projects | dev.to | 25 Apr 2024
  • Docker compose, orchestrating and automating services

    3 projects | dev.to | 21 Apr 2024