diff --git a/meteor/server/docker.js b/meteor/server/docker.js index 06d52b63..67536837 100755 --- a/meteor/server/docker.js +++ b/meteor/server/docker.js @@ -596,7 +596,11 @@ buildImage = function (image, callback) { oldImageId = image.docker.Id; } if (oldImageId && oldImageId !== imageData.Id) { - removeImageSync(oldImageId); + try { + removeImageSync(oldImageId); + } catch (e) { + console.error(e); + } } Images.update(image._id, { $set: {