Commit Graph
8 Commits
Author SHA1 Message Date
Tianon Gravi 7bd0bc91cb From docker/docker - Make get.docker.io install directions slightly better by telling user exactly how to add themselves to the "docker" group
As a bonus, if the user has run this script the way we recommend (ie, without "sudo" or "su", run as their user), we can actually give them the exact command they'll need with their correct username substituted appropriately.

Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
2017-06-16 11:53:39 -07:00
Tianon Gravi b9e5728bbb From docker/docker - Inline the test.docker.io fingerprint in the install.sh script as well
As long as we're doing it, we ought to do it for all the "official" Docker properties at least

Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
2017-06-16 11:53:08 -07:00
zimbatm d083c8fc6d From docker/docker - Fixes key installation for other target urls in hack/install.sh
Docker-DCO-1.0-Signed-off-by: Jonas Pfenniger <zimbatm@zimbatm.com> (github: zimbatm)
2017-06-16 11:53:08 -07:00
zimbatm 7358226c1e From docker/docker - Makes sure the GPG key fingerprint is inlined in the doc everywhere.
Instead of `curl $url | apt-get add -` use the ubuntu keyserver and a full
fingerprint to retreive the key. This makes the distribution of the GPG key
more secure an less likely to change even if 3rd party gains access to the
packages repository.

Docker-DCO-1.0-Signed-off-by: Jonas Pfenniger <zimbatm@zimbatm.com> (github: zimbatm)
2017-06-16 11:53:08 -07:00
Tianon Gravi 743a791296 From docker/docker - Fix install failure when busybox can't be downloaded
Whether or not the "busybox" image downloads and runs properly at the end of the build, we don't want to have the script return a failing exit code, especially since at that point, Docker is successfully installed, and we're just tooting our own horn for good measure.
2017-06-16 11:53:08 -07:00
Tianon Gravi 360a40ab6e From docker/docker - Fix install.sh with $sh_c to get sudo/su for modprobe 2017-06-16 11:53:08 -07:00
Tianon Gravi aeff05d879 From docker/docker - Update hack/install.sh with some more Ubuntu-specific installation stuff while we're still on AUFS (installing linux-image-extra-$(uname -r) when we can't find AUFS to try to find AUFS) 2017-06-16 11:53:07 -07:00
Tianon Gravi 4f9bbcf2f4 From docker/docker - Revamp install.sh to be usable by more people, and to use official install methods whenever possible (apt repo, portage tree, etc.), thus making it an official script and moving it to hack/ 2017-06-16 11:53:07 -07:00