Problem
We need to be able to list out toolbx containers.
Solution
We will make a call to podman ps and parse out the output.
We will filter out by label to identify the containers that are marked with the toolbx label and only display those.
If the all flag is passed we will show even containers that are not running.
Acceptance Criteria
rtbox list shows a list of running toolbx containers
rtbox list --all shows a list of toolbx containers including not running ones
- We don't care too much about output format at this point, default json formatter is fine for now
Problem
We need to be able to list out
toolbxcontainers.Solution
We will make a call to
podman psand parse out the output.We will filter out by label to identify the containers that are marked with the toolbx label and only display those.
If the
allflag is passed we will show even containers that are not running.Acceptance Criteria
rtbox listshows a list of running toolbx containersrtbox list --allshows a list of toolbx containers including not running ones