jocker 0.2.0

Run your monorepo binaries locally with ease !
jocker-0.2.0 is not a library.

Jocker

Manage your mono-repo binaries locally at ease !

This projects aims at giving you anything you need to easily run your binaries in a mono-repo setup, giving you an similar experience to what you may already know with docker CLI.

NOTE : It does not aim to reproduce the exact same behaviour as what does docker, but stick to its API when relevant.

Installation

cargo install --git https://gitlab.com/wykiki/jocker.git jocker

# From sources
git clone https://gitlab.com/wykiki/jocker.git
cargo install --offline --path .

Wipe state

In case you have weird behaviour, you can delete jocker's states located under ~/.local/state/jocker/. Doing so won't terminate running subprocesses, so you may need to terminate them yourself, with some kill, like : ps u | grep target | awk '{print $2}' | xargs kill

TODO

  • Reconcile process status at each CLI call
  • Automatically refresh process list when project workspace is updated
  • Refresh process config when jocker.yaml is updated
  • Split project into different crates
  • Have an UI
  • Handle stack keyword in config
  • Correctly show logs while building
  • Correctly show both stdout and stderr of a running process
  • Correctly stop child processes