mirror of
https://github.com/hashicorp/nomad-driver-lxc
synced 2026-04-05 18:50:02 +00:00
No description
- Go 88.7%
- Shell 8.4%
- Makefile 2.6%
- HCL 0.3%
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.0.0-rc93 to 1.1.12. - [Release notes](https://github.com/opencontainers/runc/releases) - [Changelog](https://github.com/opencontainers/runc/blob/v1.1.12/CHANGELOG.md) - [Commits](https://github.com/opencontainers/runc/compare/v1.0.0-rc93...v1.1.12) --- updated-dependencies: - dependency-name: github.com/opencontainers/runc dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|---|---|---|
| .release | ||
| docs | ||
| lxc | ||
| scripts | ||
| version | ||
| .gitignore | ||
| .travis.yml | ||
| CHANGELOG.md | ||
| GNUmakefile | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| main.go | ||
| README.md | ||
| Vagrantfile | ||
Nomad LXC Driver
- Website: https://www.nomadproject.io
- Mailing list: Google Groups
Requirements
- Nomad 0.9+
- Go 1.15+ (to build the provider plugin)
- Linux host with
liblxcandlxc-templatespackages installed
Building The Driver
Clone repository to: $GOPATH/src/github.com/hashicorp/nomad-driver-lxc
$ mkdir -p $GOPATH/src/github.com/hashicorp; cd $GOPATH/src/github.com/hashicorp
$ git clone git@github.com:hashicorp/nomad-driver-lxc
Enter the provider directory and build the provider
$ cd $GOPATH/src/github.com/hashicorp/nomad-driver-lxc
$ make build
Using the driver
Developing the Provider
If you wish to work on the driver, you'll first need Go installed on your machine, and have have lxc-dev and lxc-templates packages installed. You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin to your $PATH.
To compile the provider, run make build. This will build the provider and put the provider binary in the $GOPATH/bin directory.
$ make build
In order to test the provider, you can simply run make test.
$ make test