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
-[VirtualBox](https://www.virtualbox.org/) v6.0 (or any version vagrant is compatible with)
26
28
27
29
## Building nomad-driver-containerd
28
30
@@ -37,19 +39,18 @@ $ make build (This will build your containerd-driver binary)
37
39
## Wanna try it out!?
38
40
39
41
```
40
-
./setup.sh
42
+
$ vagrant up
41
43
```
42
-
The setup script will setup `containerd 1.3.4` and `nomad server+nomad-driver-containerd` (nomad server/client should already be installed on your system, and `setup.sh` only builds the driver) on your system, so you can try out [`example`](https://github.com/Roblox/nomad-driver-containerd/tree/master/example) jobs.
44
+
or `vagrant provision` if the vagrant VM is already running.
43
45
44
-
**NOTE**`setup.sh` overrides your existing `containerd` to `containerd-1.3.4`. This is needed for `io.containerd.runc.v2` runtime.<br/>
45
-
Your original containerd systemd unit file will be backed up at `/lib/systemd/system/containerd.service.bkp` in case you wanna revert later.
46
-
47
-
Once `setup.sh` is complete and the nomad server is up and running, you can check the registered task drivers (which will also show `containerd-driver`) using:
46
+
Once setup (`vagrant up` OR `vagrant provision`) is complete and the nomad server is up and running, you can check the registered task drivers (which will also show `containerd-driver`) using:
48
47
```
49
48
$ nomad node status (Note down the <node_id>)
50
49
$ nomad node status <node_id> | grep containerd-driver
51
50
```
52
51
52
+
**NOTE:**[`setup.sh`](vagrant/setup.sh) is part of the vagrant setup and should not be executed directly.
53
+
53
54
## Run Example jobs.
54
55
55
56
There are few example jobs in the [`example`](https://github.com/Roblox/nomad-driver-containerd/tree/master/example) directory.
0 commit comments