You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,40 @@ will launch the job.<br/>
59
59
**NOTE:** You need to run `setup.sh` before trying out the example jobs.<br/>
60
60
More detailed instructions are in the [`example README.md`](https://github.com/Roblox/nomad-driver-containerd/tree/master/example)
61
61
62
+
## Supported options
63
+
64
+
| Option | Type | Required | Description |
65
+
| :---: | :---: | :---: | :--- |
66
+
|**image**| string | yes | OCI image (docker is also OCI compatible) for your container. |
67
+
|**command**| string | no | Command to override command defined in the image. |
68
+
|**args**|[]string | no | Arguments to the command. |
69
+
|**privileged**| bool | no | Run container in privileged mode. Your container will have all linux capabilities when running in privileged mode. |
70
+
|**readonly_rootfs**| bool | no | Container root filesystem will be read-only. |
71
+
|**cap_add**|[]string | no | Add individual capabilities. |
72
+
|**cap_drop**|[]string | no | Drop invidual capabilities. |
73
+
|**devices**|[]string | no | A list of devices to be exposed to the container. |
74
+
|**mounts**|[]block | no | A list of mounts to be mounted in the container. Volume, bind and tmpfs type mounts are supported. fstab style [`mount options`](https://github.com/containerd/containerd/blob/master/mount/mount_linux.go#L187-L211) are supported. |
75
+
76
+
**Mount block**<br/>
77
+
  \{<br/>
78
+
   - **type** (string) (Optional): Supported values are volume, bind or tmpfs. **Default:** volume.<br/>
79
+
   - **target** (string) (Required): Target path in the container.<br/>
80
+
   - **source** (string) (Optional): Source path on the host.<br/>
81
+
   - **options** ([]string) (Optional): fstab style [`mount options`](https://github.com/containerd/containerd/blob/master/mount/mount_linux.go#L187-L211). **NOTE**: For bind mounts, atleast `rbind` and `ro` are required.<br/>
0 commit comments