{"id":7747643,"name":"ScribeMD/rootless-docker","ecosystem":"actions","description":"Run Docker in Rootless Mode to Prevent Permission Errors","homepage":"","licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/ScribeMD/rootless-docker","keywords_array":["asdf","composite-action","conventional-commits","docker","editorconfig","github-actions","github-actions-docker","megalinter","nodejs","permissions","pre-commit","prettier","python","python-poetry","renovate","rootless-docker","security","semver","vscode","yaml"],"namespace":"ScribeMD","versions_count":11,"first_release_published_at":"2021-10-02T09:22:08.000Z","latest_release_published_at":"2022-10-27T02:50:52.000Z","latest_release_number":"0.2.2","last_synced_at":"2026-04-12T05:56:57.780Z","created_at":"2023-05-17T11:28:35.582Z","updated_at":"2026-04-12T05:56:57.780Z","registry_url":"https://github.com/ScribeMD/rootless-docker","install_command":null,"documentation_url":null,"metadata":{"name":"Rootless Docker","author":"Kurt von Laven","description":"Run Docker in Rootless Mode to Prevent Permission Errors","branding":{"icon":"lock","color":"blue"},"runs":{"using":"composite","steps":[{"name":"Check whether rootless Docker is already installed and/or in-use.","id":"rootless-docker","run":"in_use='false'\nif docker context ls --format '{{ .Name }}' | grep --quiet '^rootless$'\nthen\n  installed='true'\n  if [[ \"$(docker info --format '{{ .ClientInfo.Context }}')\" == 'rootless' ]]\n  then\n    in_use='true'\n  fi\nelse\n  installed='false'\nfi\necho \"INSTALLED=$installed\" \u003e\u003e\"$GITHUB_OUTPUT\"\necho \"IN_USE=$in_use\" \u003e\u003e\"$GITHUB_OUTPUT\"\n","shell":"bash"},{"name":"Stop rootful Docker daemon.","if":"steps.rootless-docker.outputs.IN_USE != 'true'","run":"sudo systemctl stop docker.service","shell":"bash"},{"name":"Install rootless Docker, start daemon, and wait until it's listening.","if":"steps.rootless-docker.outputs.INSTALLED != 'true'","run":"echo ~/bin \u003e\u003e\"$GITHUB_PATH\"\nif [[ -z $XDG_RUNTIME_DIR ]]; then\n  XDG_RUNTIME_DIR=~/.docker/run\n  echo XDG_RUNTIME_DIR=\"$XDG_RUNTIME_DIR\" \u003e\u003e\"$GITHUB_ENV\"\nfi\nfunction awaitDockerd() {\n  while IFS= read -r -t 60 line; do\n    echo \"$line\"\n    [[ \"$line\" = *\"API listen on $XDG_RUNTIME_DIR/docker.sock\"* ]] \u0026\u0026 return\n  done\n  echo 'Timed out waiting for Docker daemon to listen.' \u003e\u00262\n  return 1\n}\n\ninstall_script_output=\"$(\n  curl \\\n  --fail-with-body \\\n  --silent \\\n  --show-error \\\n  --location https://get.docker.com/rootless |\n  sh\n)\"\necho \"$install_script_output\"\ndocker context use rootless\nif grep --quiet 'systemd not detected, dockerd-rootless.sh needs to be started manually' \u003c\u003c\u003c\"$install_script_output\"; then\n  (PATH=\"/sbin:/usr/sbin:$PATH\" dockerd-rootless.sh \u0026) |\u0026\n  awaitDockerd\nfi\n","env":{"FORCE_ROOTLESS_INSTALL":"1"},"shell":"bash"},{"name":"Proxy bidirectionally between rootful and rootless Docker sockets.","if":"steps.rootless-docker.outputs.IN_USE != 'true'","run":"sudo systemd-run --unit=docker-proxy.service --description='Bidirectional proxy between rootful and rootless Docker sockets' --service-type=exec --property=Requires=docker.socket --property=PrivateNetwork=true --property=PrivateTmp=true /lib/systemd/systemd-socket-proxyd \"$XDG_RUNTIME_DIR/docker.sock\"\n","shell":"bash"}]},"default_branch":"main","path":null},"repo_metadata":{"uuid":"412748231","full_name":"ScribeMD/rootless-docker","owner":"ScribeMD","description":"Run Docker in Rootless Mode to Prevent Permission Errors","archived":false,"fork":false,"pushed_at":"2023-08-01T00:46:34.000Z","size":259,"stargazers_count":21,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-08-01T02:07:57.413Z","etag":null,"topics":["asdf","composite-action","conventional-commits","docker","editorconfig","github-actions","github-actions-docker","megalinter","nodejs","permissions","pre-commit","prettier","python","python-poetry","renovate","rootless-docker","security","semver","vscode","yaml"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ScribeMD.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}},"created_at":"2021-10-02T09:19:14.000Z","updated_at":"2023-08-01T02:07:57.414Z","dependencies_parsed_at":"2023-01-17T12:31:41.847Z","dependency_job_id":null,"html_url":"https://github.com/ScribeMD/rootless-docker","commit_stats":null,"previous_names":[],"tags_count":11,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ScribeMD","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":149689164,"owners_count":6743126,"icon_url":"https://github.com/github.png","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"},"owner_record":{"login":"ScribeMD","name":"ScribeMD","uuid":"78177662","kind":"organization","description":null,"email":null,"website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/78177662?v=4","repositories_count":7,"last_synced_at":"2023-03-03T23:20:10.280Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/ScribeMD","created_at":"2022-11-14T06:30:45.510Z","updated_at":"2023-03-03T23:20:10.294Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ScribeMD","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ScribeMD/repositories"},"tags":[{"name":"0.2.2","sha":"6bd157a512c2fafa4e0243a8aa87d964eb890886","kind":"commit","published_at":"2022-10-27T02:50:52.000Z","download_url":"https://codeload.github.com/ScribeMD/rootless-docker/tar.gz/0.2.2","html_url":"https://github.com/ScribeMD/rootless-docker/releases/tag/0.2.2","dependencies_parsed_at":"2023-05-31T18:30:06.109Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags/0.2.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags/0.2.2/manifests"},{"name":"0.2.1","sha":"008f0194b7ae52a7664764f767d83b294e78150e","kind":"commit","published_at":"2022-10-14T17:50:02.000Z","download_url":"https://codeload.github.com/ScribeMD/rootless-docker/tar.gz/0.2.1","html_url":"https://github.com/ScribeMD/rootless-docker/releases/tag/0.2.1","dependencies_parsed_at":"2023-05-31T18:30:07.122Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags/0.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags/0.2.1/manifests"},{"name":"0.2.0","sha":"f0132c2ebe46bb0625bbedb13eebb0ec91e25a97","kind":"commit","published_at":"2022-09-30T02:24:30.000Z","download_url":"https://codeload.github.com/ScribeMD/rootless-docker/tar.gz/0.2.0","html_url":"https://github.com/ScribeMD/rootless-docker/releases/tag/0.2.0","dependencies_parsed_at":"2023-05-31T18:30:08.184Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags/0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags/0.2.0/manifests"},{"name":"0.1.7","sha":"e6a76cfc95b2a2327ec36437134a42af5b9ddf30","kind":"commit","published_at":"2022-07-18T17:30:56.000Z","download_url":"https://codeload.github.com/ScribeMD/rootless-docker/tar.gz/0.1.7","html_url":"https://github.com/ScribeMD/rootless-docker/releases/tag/0.1.7","dependencies_parsed_at":"2023-05-30T18:53:02.952Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags/0.1.7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags/0.1.7/manifests"},{"name":"0.1.6","sha":"4a466880cd718b3a5affe554dfc46f4108c144b1","kind":"commit","published_at":"2022-07-16T18:54:37.000Z","download_url":"https://codeload.github.com/ScribeMD/rootless-docker/tar.gz/0.1.6","html_url":"https://github.com/ScribeMD/rootless-docker/releases/tag/0.1.6","dependencies_parsed_at":"2023-05-30T18:53:03.602Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags/0.1.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags/0.1.6/manifests"},{"name":"0.1.5","sha":"65ddfd6b20c9b97e294d5c465135f23f0ed44cf7","kind":"commit","published_at":"2022-07-14T00:03:22.000Z","download_url":"https://codeload.github.com/ScribeMD/rootless-docker/tar.gz/0.1.5","html_url":"https://github.com/ScribeMD/rootless-docker/releases/tag/0.1.5","dependencies_parsed_at":"2023-05-30T18:53:04.224Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags/0.1.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags/0.1.5/manifests"},{"name":"0.1.4","sha":"10254853f3a70404b052755746a54927f7903f8a","kind":"commit","published_at":"2022-07-04T22:21:29.000Z","download_url":"https://codeload.github.com/ScribeMD/rootless-docker/tar.gz/0.1.4","html_url":"https://github.com/ScribeMD/rootless-docker/releases/tag/0.1.4","dependencies_parsed_at":"2023-05-30T18:53:04.927Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags/0.1.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags/0.1.4/manifests"},{"name":"0.1.3","sha":"f354d0213d1fbb02d7671415f8614b023c0c8ffc","kind":"commit","published_at":"2022-07-02T03:13:11.000Z","download_url":"https://codeload.github.com/ScribeMD/rootless-docker/tar.gz/0.1.3","html_url":"https://github.com/ScribeMD/rootless-docker/releases/tag/0.1.3","dependencies_parsed_at":"2023-05-30T18:53:05.618Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags/0.1.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags/0.1.3/manifests"},{"name":"0.1.2","sha":"ca48130e49e17d08be21b95a9e43e7eb08f0556b","kind":"commit","published_at":"2022-04-25T17:09:19.000Z","download_url":"https://codeload.github.com/ScribeMD/rootless-docker/tar.gz/0.1.2","html_url":"https://github.com/ScribeMD/rootless-docker/releases/tag/0.1.2","dependencies_parsed_at":"2023-05-30T18:53:06.290Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags/0.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags/0.1.2/manifests"},{"name":"0.1.1","sha":"51728bfc6b8724a55495cd0547902c2c9f02f750","kind":"commit","published_at":"2021-11-18T04:21:53.000Z","download_url":"https://codeload.github.com/ScribeMD/rootless-docker/tar.gz/0.1.1","html_url":"https://github.com/ScribeMD/rootless-docker/releases/tag/0.1.1","dependencies_parsed_at":"2023-05-30T18:53:07.097Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags/0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags/0.1.1/manifests"},{"name":"0.1.0","sha":"0f139210e390cc33474afa4fdd7ca943e45b67cf","kind":"commit","published_at":"2021-10-02T09:22:08.000Z","download_url":"https://codeload.github.com/ScribeMD/rootless-docker/tar.gz/0.1.0","html_url":"https://github.com/ScribeMD/rootless-docker/releases/tag/0.1.0","dependencies_parsed_at":"2023-05-30T18:53:07.906Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags/0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScribeMD%2Frootless-docker/tags/0.1.0/manifests"}]},"repo_metadata_updated_at":"2023-08-01T02:29:16.157Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":17,"rankings":{"downloads":null,"dependent_repos_count":9.898259960064658,"dependent_packages_count":0.0,"stargazers_count":7.0670258279195055,"forks_count":9.59277452067818,"docker_downloads_count":null,"average":6.639515077165586},"purl":"pkg:githubactions/ScribeMD/rootless-docker","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/ScribeMD/rootless-docker","docker_dependents_count":1,"docker_downloads_count":40,"usage_url":"https://repos.ecosyste.ms/usage/actions/ScribeMD/rootless-docker","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/ScribeMD/rootless-docker/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":null,"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/ScribeMD%2Frootless-docker/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/ScribeMD%2Frootless-docker/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/ScribeMD%2Frootless-docker/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/ScribeMD%2Frootless-docker/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/ScribeMD%2Frootless-docker/codemeta","maintainers":[]}