add suggestions in failure message in install script

Adds suggestions to where you can install docker in the case
that the install script fails to install because of the architecture
not being officially supported.

Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
This commit is contained in:
Christopher Jones 2017-01-11 11:54:57 -05:00
parent 0e8c7d7277
commit 5fd7ef2c4b
No known key found for this signature in database
GPG Key ID: 9675B4D446658DE9
1 changed files with 5 additions and 1 deletions

View File

@ -210,7 +210,11 @@ do_install() {
# unofficially supported without available repositories
aarch64|arm64|ppc64le|s390x)
cat 1>&2 <<-EOF
Error: Docker doesn't officially support $architecture and no Docker $architecture repository exists.
Error: This install script does not support $architecture, because no
$architecture package exists in Docker's repositories.
Other install options include checking your distribution's package repository
for a version of Docker, or building Docker from source.
EOF
exit 1
;;