crosvm/tools
Dennis Kempin b597678ad4 dev_container: Fix reuse logic and add testing
Some recent changes introduced a bug that breaks reusage of
containers. Instead of trying to restart a stopped container,
we delete it instead and start a fresh one.

The code was refactored to allow for testing. The tests run
against the real docker service and are run as part of the health
checks in kokoro / luci.

This CL also gets rid of the custon command line parsing since
luci can now run it with argh available.

BUG=b:234402839
TEST=./tools/dev_containes --self-test [--podman]

Change-Id: Id5eaf0ea83ff07433f8f57cb652b5c393dcb9da3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3681399
Reviewed-by: Anton Romanov <romanton@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
2022-05-31 21:54:23 +00:00
..
chromeos
contrib
examples
impl
windows
.vpython3
aarch64vm
bindgen-all-the-things
cargo-doc
clippy
dev_container dev_container: Fix reuse logic and add testing 2022-05-31 21:54:23 +00:00
fmt
health-check
install-aarch64-deps
install-armhf-deps
install-deps
install-docs-deps
presubmit
run_tests
test_target
x86vm