Azure Web App容器-没有足够的磁盘空间来启动Web App的容器 [英] Azure Web App for Containers - Not enough disk space to start the Web App's container

查看:61
本文介绍了Azure Web App容器-没有足够的磁盘空间来启动Web App的容器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Azure上有一个应用程序服务计划,其中有2个Web应用程序是从基于Windows的Docker映像创建的.对于每个应用程序,我都有一个额外的暂存插槽.

I have an App Service Plan on Azure with 2 Web Apps created from Windows based Docker images. For each app I have one additional staging slot.

从今天起,我无法启动其中一个登台应用程序,出现以下错误:

From today I'm not able to start one of the staging apps, I get following error:

无法启动容器.错误消息:没有足够的磁盘空间来启动容器.当前可用空间:1566 MB.新容器的估计磁盘空间:1707 MB

Unable to start container. Error message: Not enough disk space to start container. Current available space: 1566 MB. New container estimated disk space: 1707 MB

当我检查文件系统存储中的App Service Plan时,它说我在250GB中仅使用了20MB.

When I check File system storage for App Service Plan, it says that I'm using only 20MB out of 250GB.

Azure是否有可能在本地存储旧映像?
如何释放空间?

Is it possible that Azure is storing old images locally?
How to free some space?

推荐答案

最后,我能够通过扩展到更大的计划,重新启动容器并将其缩减到原来的规模来完成这项工作.之后,我能够多次重新启动容器,而无需再次放大容器.

At the end, I was able to make this work by scaling to larger plan, restarting containers and scaling it back down. After that I was able to restart containers multiple times without scaling it up again.

这篇关于Azure Web App容器-没有足够的磁盘空间来启动Web App的容器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆