Windows容器的交换文件大小增加

时间:2019-09-23 19:28:14

标签: docker docker-for-windows

启动docker交互模式时出现以下错误。

Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.

The shell cannot be started. A failure occurred during initialization:
Could not load file or assembly 'System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The paging file is too small for this operation to complete. (Exception from HRESULT: 0x800705AF)

此容器在Windows 10主机上运行,​​我分配了5GB RAM。我在开发环境中运行此容器,但没有其他容器在运行。我的问题是,如何增加容器的交换文件大小?那需要在dockerfile中完成吗?

Docker:19.03.2

0 个答案:

没有答案