├── .gitignore ├── .ocamlformat ├── .travis-ocaml.sh ├── .travis-opam.sh ├── .travis.yml ├── LICENSE ├── Makefile ├── README.md ├── code_gen ├── dune ├── ffi_bindings.ml ├── ffi_types.ml ├── gen.cinaps ├── lxc_glue.c ├── lxc_glue.h ├── stubs_gen.ml └── types.ml ├── doc ├── C_LXC_COMPARISON.md ├── GO_LXC_COMPARISON.md ├── INDEX.md └── TECH.md ├── dune-project ├── examples ├── attach.ml ├── checkpoint.ml ├── console.ml ├── create.ml ├── create_snapshot.ml ├── dune ├── main_demo.ml └── start.ml ├── lxc.opam ├── lxc_files ├── attach_options.h ├── demo.c └── lxccontainer.h ├── src ├── attach_internal.ml ├── backing_store.ml ├── clone_internal.ml ├── console_log_internal.ml ├── console_options.ml ├── create_options.ml ├── dune ├── lxc.ml ├── lxc.mli ├── lxc_c.ml ├── lxc_c.mli ├── migrate_internal.ml ├── misc_utils.ml ├── snapshot_internal.ml └── stubs.ml └── tests ├── dune └── test.ml /.gitignore: -------------------------------------------------------------------------------- 1 | _build 2 | .merlin 3 | -------------------------------------------------------------------------------- /.ocamlformat: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.travis-ocaml.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/.travis-ocaml.sh -------------------------------------------------------------------------------- /.travis-opam.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/.travis-opam.sh -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/README.md -------------------------------------------------------------------------------- /code_gen/dune: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/code_gen/dune -------------------------------------------------------------------------------- /code_gen/ffi_bindings.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/code_gen/ffi_bindings.ml -------------------------------------------------------------------------------- /code_gen/ffi_types.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/code_gen/ffi_types.ml -------------------------------------------------------------------------------- /code_gen/gen.cinaps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/code_gen/gen.cinaps -------------------------------------------------------------------------------- /code_gen/lxc_glue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/code_gen/lxc_glue.c -------------------------------------------------------------------------------- /code_gen/lxc_glue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/code_gen/lxc_glue.h -------------------------------------------------------------------------------- /code_gen/stubs_gen.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/code_gen/stubs_gen.ml -------------------------------------------------------------------------------- /code_gen/types.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/code_gen/types.ml -------------------------------------------------------------------------------- /doc/C_LXC_COMPARISON.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /doc/GO_LXC_COMPARISON.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/doc/GO_LXC_COMPARISON.md -------------------------------------------------------------------------------- /doc/INDEX.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/doc/INDEX.md -------------------------------------------------------------------------------- /doc/TECH.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/doc/TECH.md -------------------------------------------------------------------------------- /dune-project: -------------------------------------------------------------------------------- 1 | (lang dune 1.9) 2 | -------------------------------------------------------------------------------- /examples/attach.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/examples/attach.ml -------------------------------------------------------------------------------- /examples/checkpoint.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/examples/checkpoint.ml -------------------------------------------------------------------------------- /examples/console.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/examples/console.ml -------------------------------------------------------------------------------- /examples/create.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/examples/create.ml -------------------------------------------------------------------------------- /examples/create_snapshot.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/examples/create_snapshot.ml -------------------------------------------------------------------------------- /examples/dune: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/examples/dune -------------------------------------------------------------------------------- /examples/main_demo.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/examples/main_demo.ml -------------------------------------------------------------------------------- /examples/start.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/examples/start.ml -------------------------------------------------------------------------------- /lxc.opam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/lxc.opam -------------------------------------------------------------------------------- /lxc_files/attach_options.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/lxc_files/attach_options.h -------------------------------------------------------------------------------- /lxc_files/demo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/lxc_files/demo.c -------------------------------------------------------------------------------- /lxc_files/lxccontainer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/lxc_files/lxccontainer.h -------------------------------------------------------------------------------- /src/attach_internal.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/src/attach_internal.ml -------------------------------------------------------------------------------- /src/backing_store.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/src/backing_store.ml -------------------------------------------------------------------------------- /src/clone_internal.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/src/clone_internal.ml -------------------------------------------------------------------------------- /src/console_log_internal.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/src/console_log_internal.ml -------------------------------------------------------------------------------- /src/console_options.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/src/console_options.ml -------------------------------------------------------------------------------- /src/create_options.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/src/create_options.ml -------------------------------------------------------------------------------- /src/dune: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/src/dune -------------------------------------------------------------------------------- /src/lxc.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/src/lxc.ml -------------------------------------------------------------------------------- /src/lxc.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/src/lxc.mli -------------------------------------------------------------------------------- /src/lxc_c.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/src/lxc_c.ml -------------------------------------------------------------------------------- /src/lxc_c.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/src/lxc_c.mli -------------------------------------------------------------------------------- /src/migrate_internal.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/src/migrate_internal.ml -------------------------------------------------------------------------------- /src/misc_utils.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/src/misc_utils.ml -------------------------------------------------------------------------------- /src/snapshot_internal.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/src/snapshot_internal.ml -------------------------------------------------------------------------------- /src/stubs.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darrenldl/ocaml-lxc/HEAD/src/stubs.ml -------------------------------------------------------------------------------- /tests/dune: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test.ml: -------------------------------------------------------------------------------- 1 | 2 | --------------------------------------------------------------------------------