Commit Graph
21 Commits
Author SHA1 Message Date
Tibor Vass 2bcc64247c From docker/docker - change docs.docker.io to docs.docker.com in install script
Signed-off-by: Tibor Vass <teabee89@gmail.com>
2017-06-16 11:53:39 -07:00
Jérôme Petazzoni fd9ed0705b From docker/docker - Add -E flag to sudo (fixes #8494)
Docker-DCO-1.1-Signed-off-by: Jérôme Petazzoni <jerome@docker.com> (github: jpetazzo)
2017-06-16 11:53:39 -07:00
Tibor Vass 74ac14753c From docker/docker - Replace get.docker.io -> get.docker.com and test.docker.io -> test.docker.com
Signed-off-by: Tibor Vass <teabee89@gmail.com>
2017-06-16 11:53:39 -07:00
Bruno Binet a4f860cf32 From docker/docker - Automatically clean up hello-world container with --rm
Signed-off-by: Bruno Binet <bruno.binet@gmail.com>
2017-06-16 11:53:39 -07:00
Tianon Gravi 300d8acbd7 From docker/docker - Add "hack/install.sh" to the "PRs welcome" note in the end of the install script
Also, simplified the output method by using `cat >&2 <<EOF ...` instead of multiple lines of `echo >&2 '...'`.

Signed-off-by: Andrew Page <admwiggin@gmail.com>
2017-06-16 11:53:39 -07:00
unclejack 6a09d4a770 From docker/docker - hack/install.sh: install apparmor when enabled
Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
2017-06-16 11:53:39 -07:00
Tomasz Lipinski 3ac5775a0e From docker/docker - Allows installation on Linux Mint Debian Edition
Otherwise platform won't be detected

Signed-off-by: Tomasz Lipinski <me@tlipinski.net>
2017-06-16 11:53:39 -07:00
Sven Dowideit d031c3c8c2 From docker/docker - Tianon made a micro-image (sub one meg?) that we can use as a very fast to download 'yes, your docker can download and run an image' test
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
2017-06-16 11:53:39 -07:00
Tianon Gravi 6fe43ce8d3 From docker/docker - Standardize "curl" arguments across the repo to be or include "-sSL"
- https://botbot.me/freenode/docker-dev/msg/17315692/
- https://botbot.me/freenode/docker-dev/msg/17315994/

Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
2017-06-16 11:53:39 -07:00
James Turnbull 8146f363f0 From docker/docker - Removed extra whitespace
Docker-DCO-1.1-Signed-off-by: James Turnbull <james@lovedthanlost.net> (github: jamtur01)
2017-06-16 11:53:39 -07:00
James Turnbull fed4784984 From docker/docker - Added Fedora installation method
Docker-DCO-1.1-Signed-off-by: James Turnbull <james@lovedthanlost.net> (github: jamtur01)
2017-06-16 11:53:39 -07:00
Paul Annesley 047ff28486 From docker/docker - install.sh (get.docker.io) aufs comment updated.
devicemapper has landed, but the TODO hasn't been actioned presumably
because aufs is still preferred over devicemapper when available[1].

Comment updated accordingly.

Citation [1]: https://github.com/crosbymichael/docker/blob/267ca39921c35826ccbdb84fbbc0690bfef385d7/runtime/graphdriver/driver.go#L40-L46

Docker-DCO-1.1-Signed-off-by: Paul Annesley <paul@annesley.cc> (github: pda)
2017-06-16 11:53:39 -07:00
Viktor Vojnovski f5bff6739c From docker/docker - refactor($hack,$docs): be consistent in apt-key keyserver URI usage, as done in #4740
In #4740, the apt-key call in docs is changed to use the keyserver port 80 instead of
port 11371, as the previous call would fail with a restrictive firewall or proxy.
This commit extends the change to all apt-key calls in the repository.

Docker-DCO-1.1-Signed-off-by: Viktor Vojnovski <vojnovski@gmail.com> (github: vojnovski)
2017-06-16 11:53:39 -07:00
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