File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 11import { readdirSync } from "node:fs" ;
22import { join } from "node:path" ;
33import { docker } from "@dokploy/server/constants" ;
4- import { cleanupAll } from "@dokploy/server/utils/docker/utils" ;
54import {
65 execAsync ,
76 execAsyncRemote ,
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ export const cleanupBuilders = async (serverId?: string) => {
235235
236236export const cleanupSystem = async ( serverId ?: string ) => {
237237 try {
238- const command = "docker system prune --all --volumes -- force" ;
238+ const command = "docker system prune --all --force" ;
239239
240240 if ( serverId ) {
241241 await execAsyncRemote ( serverId , dockerSafeExec ( command ) ) ;
@@ -252,7 +252,6 @@ export const cleanupSystem = async (serverId?: string) => {
252252export const cleanupAll = async ( serverId ?: string ) => {
253253 await cleanupContainers ( serverId ) ;
254254 await cleanupImages ( serverId ) ;
255- await cleanupVolumes ( serverId ) ;
256255 await cleanupBuilders ( serverId ) ;
257256 await cleanupSystem ( serverId ) ;
258257} ;
You can’t perform that action at this time.
0 commit comments