Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Latest commit

 

History

History
75 lines (52 loc) · 1.41 KB

README.md

File metadata and controls

75 lines (52 loc) · 1.41 KB

Cromwell

CircleCI crates.io docs Software License

Rust Rootless Container Runntime

logo

Dependency

Enable user namespaces

$ sudo sysctl kernel.unprivileged_userns_clone=1

Installation

$ cargo install cromwell

or

$ cargo install --git https://github.com/guni1192/cromwell

Usage

Rust Rootless Container Runntime

USAGE:
    cromwell [SUBCOMMAND]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    help    Prints this message or the help of the given subcommand(s)
    ps      show containers
    pull    pull oci image
    run     run cromwell container

Example

Run Container

$ cromwell run -n library/alpine:3.8
~ $
$ cromwell run -n library/alpine:3.8 --exec 'ls -a'
bin  boot  dev  etc  home  lib  lib64  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var

Pull Image from DockerHub

$ cromwell pull -n library/alpine:3.8

Test

$ cargo test