File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -16,29 +16,34 @@ arm_tag="arm32v7"
16
16
tmp_folder=" /tmp"
17
17
tag=" "
18
18
19
- if [ -z " $is_amd64 " ] && [ -z " $is_arm " ] then
19
+ if [ -z " $is_amd64 " ] && [ -z " $is_arm " ]
20
+ then
20
21
printf " Either an AMD64 or ARMv7 or newer compatible host is required to run and install this container"
21
22
exit 1
22
23
else
23
- if [ -z " $is_amd64 " ] then
24
+ if [ -z " $is_amd64 " ]
25
+ then
24
26
tag=$arm_tag
25
27
else
26
28
tag=$nvidia_tag
27
29
fi
28
30
fi
29
31
30
- if [ -z " $is_git_installed " ] then
32
+ if [ -z " $is_git_installed " ]
33
+ then
31
34
printf " \" git\" must be installed to install this container and runtime. Please install git on your host OS and try again."
32
35
exit 1
33
36
fi
34
37
35
- if [ -z " $is_docker_installed " ] then
38
+ if [ -z " $is_docker_installed " ]
39
+ then
36
40
printf " \" docker\" must be installed, running, and accessible to the current user (e.g. current user must be a member \
37
41
of the \" docker\" group). Please check your docker setup and try this again."
38
42
exit 1
39
43
fi
40
44
41
- if [ -z " $is_nvidia " ] then
45
+ if [ -z " $is_nvidia " ]
46
+ then
42
47
printf " It appears you are running the proprietary Nvidia graphics driver on your host. Before you run this container, ensure that \
43
48
you have installed and configured nvidia docker (see this: https://github.com/NVIDIA/nvidia-docker for instructions), or else \
44
49
the container may not start"
You can’t perform that action at this time.
0 commit comments