{"id":21659949,"url":"https://github.com/docker-archive/docker-snap","last_synced_at":"2025-07-17T23:30:26.841Z","repository":{"id":144837477,"uuid":"79969980","full_name":"docker-archive/docker-snap","owner":"docker-archive","description":null,"archived":true,"fork":false,"pushed_at":"2018-11-28T21:11:40.000Z","size":105,"stargazers_count":120,"open_issues_count":0,"forks_count":26,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-11-25T09:45:12.293Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/docker-archive.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2017-01-25T00:50:50.000Z","updated_at":"2024-02-07T03:01:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"9339a063-43f8-4fde-9c46-e351b6f962ab","html_url":"https://github.com/docker-archive/docker-snap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/docker-archive/docker-snap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker-archive%2Fdocker-snap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker-archive%2Fdocker-snap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker-archive%2Fdocker-snap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker-archive%2Fdocker-snap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/docker-archive","download_url":"https://codeload.github.com/docker-archive/docker-snap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker-archive%2Fdocker-snap/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265678448,"owners_count":23810114,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-25T09:31:56.564Z","updated_at":"2025-07-17T23:30:26.823Z","avatar_url":"https://github.com/docker-archive.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Docker Snap\n\n:lock: This repository has been archived.\n\n\u003e *NOTE:* The Docker Snap is no longer maintained by Docker, Inc.  The last\n\u003e release version was 17.06.2.  The future of the Docker Snap is unclear, but it\n\u003e won't be developed here going forward. The source at\n\u003e https://code.launchpad.net/~docker/+git/snap appears to be where new\n\u003e development efforts are taking place, and the Snapcraft forums\n\u003e (https://forum.snapcraft.io/) are probably your best bet to reach the new\n\u003e maintainers.\n\n---\n\nThis repository contains the source for the `docker` snap package.  The package provides a distribution of Docker Community Edition (CE) for Ubuntu Core 16 (and other snap-compatible) systems.  It is built from an upstream Docker CE release tag with some patches to fit the snap format and is available on `armhf`, `arm64`, `amd64`, `i386`, and `ppc64el` architectures.  The rest of this page describes installation, usage, and development.\n\n## Installation\n\nTo install the latest stable release of Docker CE using `snap`:\n\n    $ sudo snap install docker\n\n\nIf you are using Ubuntu Core 16,\n\n* Connect the `docker:home` plug as it's not auto-connected by default:\n\n      $ sudo snap connect docker:home\n\nIf you are using an alternative snap-compatible Linux distribution (\"classic\" in snap lingo), and would like to run `docker` as a normal user:\n\n* Create and join the `docker` group.\n\n      $ sudo addgroup --system docker\n      $ sudo adduser $USER docker\n      $ newgrp docker\n\n* You will also need to disable and re-enable the `docker` snap if you added the group while it was running.\n\n      $ sudo snap disable docker\n      $ sudo snap enable docker\n\n## Usage\n\nDocker should function normally, with the following caveats:\n\n* All files that `docker` needs access to should live within your `$HOME` folder.\n\n  * If you are using Ubuntu Core 16, you'll need to work within a subfolder of `$HOME` that is readable by root. https://github.com/docker/docker-snap/issues/8\n\n* `docker-compose` is available as `docker.compose` due to snap naming restrictions.\n* Additional certificates used by the Docker daemon to authenticate with registries need to be located in `/var/snap/docker/common/etc/certs.d` instead of `/etc/docker/certs.d`.\n\n### Examples\n\n* [Setup a secure private registry](registry-example.md)\n\n## Development\n\nDeveloping the `docker` snap package is typically performed on a \"classic\" Ubuntu distribution.  The instructions here are written for Ubuntu 16.04 \"Xenial\".\n\n* Install the snap tooling (requires `snapd\u003e2.21` and `snapcraft\u003e=2.26`):\n\n      $ sudo apt-get install snapd snapcraft\n      $ sudo snap install core\n\n* Checkout this repository and build the `docker` snap package:\n\n      $ git clone https://github.com/docker/docker-snap\n      $ cd docker-snap\n      $ sudo snapcraft\n\n* Install the newly-created snap package:\n\n      $ sudo snap install --dangerous docker_[VER]_[ARCH].snap\n\n* Manually connect the relevant plugs and slots which are not auto-connected:\n\n      $ sudo snap connect docker:privileged :docker-support\n      $ sudo snap connect docker:support :docker-support\n      $ sudo snap connect docker:firewall-control :firewall-control\n      $ sudo snap connect docker:docker-cli docker:docker-daemon\n      $ sudo snap disable docker\n      $ sudo snap enable docker\n\n  You should end up with output similar to:\n\n      $ sudo snap interfaces docker\n      Slot                  Plug\n      :docker-support       docker:privileged,docker:support\n      :firewall-control     docker\n      :home                 docker\n      :network              docker\n      :network-bind         docker\n      docker:docker-daemon  docker:docker-cli\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocker-archive%2Fdocker-snap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocker-archive%2Fdocker-snap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocker-archive%2Fdocker-snap/lists"}