fix: cleanup
This commit is contained in:
parent
adf82c04ad
commit
f55b861849
@ -1652,7 +1652,7 @@ export async function cleanupDockerStorage(dockerId, lowDiskSpace, force) {
|
||||
const { numberOfDockerImagesKeptLocally } = await prisma.setting.findUnique({ where: { id: '0' } })
|
||||
const { stdout: images } = await executeCommand({
|
||||
dockerId,
|
||||
command: `docker images | grep -v "<none>" | grep -v REPOSITORY | awk '{print $1, $2}'`,
|
||||
command: `docker images|grep -v "<none>"|grep -v REPOSITORY|awk '{print $1, $2}'`,
|
||||
shell: true
|
||||
});
|
||||
const imagesArray = images.trim().replaceAll(' ', ':').split('\n');
|
||||
|
Loading…
x
Reference in New Issue
Block a user