@tridha643/hestia 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/daemon.js CHANGED
@@ -8993,7 +8993,7 @@ async function composeUp(ctx, services) {
8993
8993
  async function composeDown(ctx, destroy) {
8994
8994
  const rest = ["down", "--remove-orphans"];
8995
8995
  if (destroy)
8996
- rest.push("-v");
8996
+ rest.push("-v", "--rmi", "local");
8997
8997
  await docker(ctx, rest);
8998
8998
  }
8999
8999
  async function composePs(ctx) {
@@ -13914,7 +13914,7 @@ class ComposeEngine {
13914
13914
  } else if (record?.composeFile !== undefined) {
13915
13915
  const rest = ["compose", "-p", project2, "down", "--remove-orphans"];
13916
13916
  if (opts?.destroy)
13917
- rest.push("-v");
13917
+ rest.push("-v", "--rmi", "local");
13918
13918
  await pexec9("docker", rest, { timeout: 180000 });
13919
13919
  }
13920
13920
  }
@@ -13971,7 +13971,7 @@ class ComposeEngine {
13971
13971
  try {
13972
13972
  const rest = ["compose", "-p", project, "down", "--remove-orphans"];
13973
13973
  if (opts?.destroy)
13974
- rest.push("-v");
13974
+ rest.push("-v", "--rmi", "local");
13975
13975
  await pexec9("docker", rest, { timeout: 180000 });
13976
13976
  } catch (err) {
13977
13977
  if (fresh?.composeFile !== undefined) {
@@ -14664,4 +14664,4 @@ async function main() {
14664
14664
  }
14665
14665
  main();
14666
14666
 
14667
- //# debugId=E5997ABC0405B8AE64756E2164756E21
14667
+ //# debugId=EB8026932DFD01AC64756E2164756E21