Skip to content

@vttforge/testing / container / stopFoundryContainer

Function: stopFoundryContainer() ​

stopFoundryContainer(name): void

Remove a container by name, whether or not this process started it.

FoundryContainer#stop is the same thing with the name already filled in. Use this from a teardown script that runs in its own process, which is where the handle is out of reach. Removing a container that is not there is not an error.

The data volume survives, so the next run does not download Foundry again.

Parameters ​

name ​

string

Returns ​

void

MIT licensed.