{"id":19882449,"url":"https://github.com/derjd/ansible-docker","last_synced_at":"2026-04-16T05:01:39.249Z","repository":{"id":78324710,"uuid":"200523249","full_name":"derJD/ansible-docker","owner":"derJD","description":"Ansible role managing docker-ce installation and configure it via daemon.json","archived":false,"fork":false,"pushed_at":"2022-10-27T15:00:12.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-23T06:45:03.623Z","etag":null,"topics":["ansible","ansible-role","docker","docker-compose","role"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/derJD.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-04T17:40:08.000Z","updated_at":"2022-10-27T12:55:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"fccef85d-3f93-4528-a1d1-07d9e1731fca","html_url":"https://github.com/derJD/ansible-docker","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/derJD/ansible-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derJD%2Fansible-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derJD%2Fansible-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derJD%2Fansible-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derJD%2Fansible-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derJD","download_url":"https://codeload.github.com/derJD/ansible-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derJD%2Fansible-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31872036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role","docker","docker-compose","role"],"created_at":"2024-11-12T17:17:29.647Z","updated_at":"2026-04-16T05:01:39.231Z","avatar_url":"https://github.com/derJD.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"docker\n======\n\nInstalls docker-ce and docker-compose. This role manages daemon configuration as well via [/etc/docker/daemon.json](https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file).\nI think it is a bit more convinient configuring the docker daemon with its configuration file instead of passing flags via environments.\n\nRequirements\n------------\n\nnone so far.\n\nRole Variables\n--------------\n\n| Variable | Type | Default | Description |\n| -------- | ---- | ------- | ----------- |\n| `docker_daemon_options` | dict | `{group: docker, log-driver: journald}` | Dictionary containing all settings for daemon.json |\n| `docker_packages` | list | `[docker-ce, docker-ce-cli, containerd.io, docker-compose]` | List containing packages which should be installed |\n| `docker_os_skip_list` | list | `[CoreOS, Coreos]` | List of operatingsystems that don't require package installation |\n| `docker_compose_service` | bool | `false` | If set to `true` a systemd service template for docker-compose files is created |\n\nThere are a bunch of Variables which values depends on os:\n* `docker_repo_url`\n* `docker_key_id`\n* `docker_key_url`\n* `docker_pre_packages`\n\n**docker_compose_service**\n* When enabled you can store docker-compose files in `/etc/docker/compose/` directory.\n* For example: If you whish to start your example deployment, store it like this: `/etc/docker/compose/example.yml`\n* And start it like this: `systemctl start docker-compose@example`\n* You can update your deployment with this hack: `systemctl start docker-compose@example`\n\nDependencies\n------------\n\nnone so far.\n\nExample Playbook\n----------------\n\n* basic example:\n```\n---\n- hosts: servers\n  roles:\n     - derJD.docker\n```\n\n* how config for my workstation would look like:\n```\n---\n- hosts: workstation\n  vars:\n    docker_daemon_options:\n      group: docker\n      bip: 10.53.0.1/27\n      log-driver: journald\n      storage-driver: zfs\n  roles:\n     - derJD.docker\n```\n\nLicense\n-------\n\nBSD\n\nAuthor Information\n------------------\n\n[derJD](https://github.com/derJD/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderjd%2Fansible-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderjd%2Fansible-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderjd%2Fansible-docker/lists"}