No description
  • Go 88.7%
  • Shell 8.4%
  • Makefile 2.6%
  • HCL 0.3%
Find a file
dependabot[bot] 7f2a459762
Bump github.com/opencontainers/runc from 1.0.0-rc93 to 1.1.12 (#45)
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>
2024-02-02 15:51:36 -05:00
.release [RelAPI Onboarding] Add release API metadata file 2022-05-03 20:12:02 -07:00
docs add steps for releasing 2019-01-28 21:16:27 -05:00
lxc Lxc 4 support (#37) 2022-06-06 15:35:38 -04:00
scripts build: update Vagrant base image and fix provision issues. 2021-06-21 12:16:44 +02:00
version version: add pkg to allow use of common release pipeline. 2021-06-21 12:38:25 +02:00
.gitignore add initial draft of supporting files 2019-01-08 11:45:34 -05:00
.travis.yml satisfy linters 2020-11-11 13:04:05 -05:00
CHANGELOG.md changelog: add entry for #29 2021-07-01 10:08:24 +02:00
GNUmakefile satisfy linters 2020-11-11 13:04:05 -05:00
go.mod Bump github.com/opencontainers/runc from 1.0.0-rc93 to 1.1.12 (#45) 2024-02-02 15:51:36 -05:00
go.sum Bump github.com/opencontainers/runc from 1.0.0-rc93 to 1.1.12 (#45) 2024-02-02 15:51:36 -05:00
LICENSE [COMPLIANCE] Update MPL 2.0 LICENSE 2022-10-12 20:46:13 +00:00
main.go Fix TYPO on line 15 2019-01-27 20:24:36 -05:00
README.md build via go modules 2020-11-11 13:04:05 -05:00
Vagrantfile build: update Vagrant base image and fix provision issues. 2021-06-21 12:16:44 +02:00

Nomad LXC Driver

Requirements

  • Nomad 0.9+
  • Go 1.15+ (to build the provider plugin)
  • Linux host with liblxc and lxc-templates packages 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