feat: release 2.0.0

This commit is contained in:
2025-04-17 17:23:05 +00:00
parent afa0e2f5dd
commit e6efedc7fe
14 changed files with 1039 additions and 1631 deletions

View File

@@ -43,11 +43,14 @@ export class Container {
*
* @see https://docs.docker.com/engine/api/v1.45/#tag/Container/operation/ContainerDelete
*
* @param query.v - Remove the volumes associated with the container.
* @param query.v - Remove the volumes associated with the container. Default: true
* @param query.force - Kill the container if it is running.
* @param query.link - Remove the specified link and not the underlying container.
*/
async remove(query: { v?: boolean; force?: boolean; link?: boolean } = {}) {
if (query.v === undefined) {
query.v = true;
}
await modem.del({ path: `/containers/${this.id}`, query });
}