Home

Awesome

dx

Run a container with preset using dx

Presets can be defined in the $env.CONTCONFIG file, with the content as follows:

preset:
- name: rust
  image: rust
  cmd: []
  env:
    CARGO_HOME: /opt/cargo
  volumn:
    .: /world
    ~/.cargo: /opt/cargo
  port:
    '8000': 80
  cmd: []
  args:
  - --cap-add=SYS_ADMIN
  - --cap-add=SYS_PTRACE
  - --security-opt
  - seccomp=unconfined