{"id":19687199,"url":"https://github.com/trinitronx/lyraphase-docker","last_synced_at":"2026-05-04T18:36:29.161Z","repository":{"id":136205851,"uuid":"280826302","full_name":"trinitronx/lyraphase-docker","owner":"trinitronx","description":"Chef cookbook to install docker and docker-compose","archived":false,"fork":false,"pushed_at":"2020-07-26T23:11:25.000Z","size":116,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T09:12:19.315Z","etag":null,"topics":["chef-cookbook","docker","docker-compose"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trinitronx.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2020-07-19T08:44:49.000Z","updated_at":"2020-07-26T23:11:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"91dae231-49db-46e5-a039-51b1749352b4","html_url":"https://github.com/trinitronx/lyraphase-docker","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/trinitronx/lyraphase-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Flyraphase-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Flyraphase-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Flyraphase-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Flyraphase-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trinitronx","download_url":"https://codeload.github.com/trinitronx/lyraphase-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Flyraphase-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32620127,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["chef-cookbook","docker","docker-compose"],"created_at":"2024-11-11T18:33:23.298Z","updated_at":"2026-05-04T18:36:29.145Z","avatar_url":"https://github.com/trinitronx.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lyraphase-docker\n==================\n\n[![Build Status](http://img.shields.io/travis/trinitronx/lyraphase-pi.svg)](https://travis-ci.org/trinitronx/lyraphase-pi)\n[![GitHub Release](https://img.shields.io/github/release/trinitronx/lyraphase-pi.svg)](https://github.com/trinitronx/lyraphase-pi/releases)\n[![Gittip](http://img.shields.io/gittip/trinitronx.svg)](https://www.gittip.com/trinitronx)\n\n# Description\n\nInstalls `docker-ce` from Docker official Apt repository via `docker` cookbook.\n\nOptionally: Installs `docker-compose` from either official Ubuntu Repositories or from binary GitHub Releases page.\n\n# Requirements\n\n\n- [chef][1] gem (`\u003e= 15.0`)\n- [docker][2] cookbook (`~\u003e 6.0.3`)\n\n\n[1]: https://rubygems.org/gems/chef\n[2]: https://supermarket.chef.io/cookbooks/docker\n\n## Chef Client:\n\n* chef (\u003e= 15.0) ()\n\n## Platform:\n\n* debian\n\n## Cookbooks:\n\n* [docker](https://github.com/chef-cookbooks/docker) (~\u003e 6.0)\n\n# Usage\n\n1. Bootstrap Chef Infra Client on a node.\n  - For example: `/usr/local/bin/knife bootstrap  --connection-user ubuntu --ssh-identity-file ~/.ssh/id_rsa --sudo  --ssh-verify-host-key accept_new --host example.local`\n2. Create a role for your Docker host, and include the recipes for it.\n\nFor example, to install:\n\n- Docker Community Edition version `19.03.12` from official Docker apt repository\n- Docker Compose binary version `1.26.2` from GitHub releases\n\n```ruby\nname \"docker-host\"\ndescription \"Role for docker hosts\"\ndefault_attributes 'lyraphase-docker' =\u003e {\n    'version' =\u003e '19.03.12',\n    'users' =\u003e [ 'ubuntu' ],\n    'compose' =\u003e {\n      'install_binary' =\u003e true,\n      'version' =\u003e '1.26.2'\n    }\n  }\nrun_list [ \"lyraphase-docker::default\", \"lyraphase-docker::docker_compose\" ]\n```\n\n\n# Attributes\n\n* `node['lyraphase-docker']['users']` - A list of pre-existing users to add to the '`docker`' group. Optional.\nThe default is an empty Array (`[]` ), which skips this task, and adds no users to `docker` group. Defaults to `[ ... ]`.\n* `node['lyraphase-docker']['version']` - The version of `docker-ce` APT package to install. Supports same syntax as APT (e.g.: `version: 1.2.3` =\u003e `apt-get install docker-ce=1.2.3`, with version placed after `=`). Defaults to `19.03.12`.\n* `node['lyraphase-docker']['compose']['install_binary']` - Whether to install binary via [GitHub Releases](https://github.com/docker/compose/releases/download) or the [Official Ubuntu APT repo packages](http://archive.ubuntu.com/ubuntu/pool/universe/d/docker-compose/). (`Boolean`). Available options: `true`, `false`. Defaults to `false`.\n* `node['lyraphase-docker']['compose']['version']` - The version of `docker-compose` to install. Default is an empty String, and installs latest available APT package. Defaults to ``.\n\n# Recipes\n\n* [lyraphase-docker::default](#lyraphase-dockerdefault)\n* [lyraphase-docker::docker_compose](#lyraphase-dockerdocker_compose) - Install `docker-compose` via either [binary install method](https://github.com/docker/compose/releases/download), or from [official Ubuntu APT repository](http://archive.ubuntu.com/ubuntu/pool/universe/d/docker-compose/).\n\n## lyraphase-docker::default\n\nInstall `docker-ce` from [Docker official Apt repository](https://docs.docker.com/engine/install/ubuntu/) via [`docker` cookbook.](https://supermarket.chef.io/cookbooks/docker)\n\n## lyraphase-docker::docker_compose\n\nInstall `docker-compose` via either [binary install method](https://github.com/docker/compose/releases/download), or from [official Ubuntu APT repository](http://archive.ubuntu.com/ubuntu/pool/universe/d/docker-compose/).\n\n# License and Maintainer\n\nMaintainer:: James Cuzella ([@trinitronx][keybase-id])\n\nSource:: https://github.com/trinitronx/lyraphase-docker\n\nIssues:: https://github.com/trinitronx/lyraphase-docker/issues\n\nLicense:: GPL-3.0\n\n[keybase-id]: https://gist.github.com/trinitronx/aee110cbdf55e67185dc44272784e694\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrinitronx%2Flyraphase-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrinitronx%2Flyraphase-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrinitronx%2Flyraphase-docker/lists"}