forked from juju-solutions/layer-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
89 lines (89 loc) · 3.07 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
options:
apt-key-server:
description: APT Key Server
type: string
default: 'hkp://keyserver.ubuntu.com:80'
docker-opts:
type: string
default : ""
description: |
Extra options to pass to the Docker daemon. e.g. --insecure-registry.
enable-cgroups:
type: boolean
default: false
description: |
Enable GRUB cgroup overrides cgroup_enable=memory swapaccount=1. WARNING
changing this option will reboot the host - use with caution on production
services.
install_from_upstream:
type: boolean
default: false
description: |
Toggle installation from Ubuntu archive vs the Docker PPA (DEPRECATED; please use docker_runtime instead).
docker_runtime:
type: string
default: "auto"
description: |
Docker runtime to install valid values are "upstream" (Docker PPA), "nvidia" (Nvidia PPA),
"apt" (Ubuntu archive), "auto" (Nvidia PPA or Ubuntu archive, based on your hardware),
or "custom" (must have set `docker_runtime_repo` URL, `docker_runtime_key_url` URL and
`docker_runtime_package` name).
docker_runtime_repo:
type: string
default: ""
description: |
Custom Docker repository, given in deb format. Use `{ARCH}` to determine architecture at
runtime. Use `{CODE}` to set release codename. E.g.
`deb [arch={ARCH}] https://download.docker.com/linux/ubuntu {CODE} stable`.
docker_runtime_key_url:
type: string
default: ""
description: |
Custom Docker repository validation key URL.
docker_runtime_package:
type: string
default: ""
description: |
Custom Docker repository package name.
cuda_repo:
type: string
default: "10.0.130-1"
description: |
The cuda-repo package version to install.
nvidia-docker-package:
type: string
default: "nvidia-docker2=2.0.3+docker18.09.1-1"
description: |
The pinned version of nvidia-docker2 package.
nvidia-container-runtime-package:
type: string
default: "nvidia-container-runtime"
description: |
The pinned version of nvidia-container-runtime package.
docker-ce-package:
type: string
default: "docker-ce=5:18.09.1~3-0~ubuntu-bionic"
description: |
The pinned version of docker-ce package installed with nvidia-docker.
http_proxy:
type: string
default: ""
description: |
URL to use for HTTP_PROXY to be used by Docker. Useful in
egress-filtered environments where a proxy is the only option for
accessing the registry to pull images.
https_proxy:
type: string
default: ""
description: |
URL to use for HTTPS_PROXY to be used by Docker. Useful in
egress-filtered environments where a proxy is the only option for
accessing the registry to pull images.
no_proxy:
type: string
default: ""
description: |
Comma-separated list of destinations (either domain names or IP
addresses) which should be accessed directly, rather than through
the proxy defined in http_proxy or https_proxy. Must be less than
2023 characters long.