public class KillDownShutdownStrategy extends Object implements ShutdownStrategy
"down" would be ideal as a single command if it didn't first execute an impotent SIGTERM, which many Docker images simply ignore due to being run by bash as process 1. We don't need a graceful shutdown period anyway since the tests are done and we're destroying the docker image.
AGGRESSIVE, AGGRESSIVE_WITH_NETWORK_CLEANUP, GRACEFUL, KILL_DOWN, SKIP
Constructor and Description |
---|
KillDownShutdownStrategy() |
public void shutdown(DockerCompose dockerCompose, Docker docker) throws IOException, InterruptedException
shutdown
in interface ShutdownStrategy
IOException
InterruptedException
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.