我在 macos 上运行时遇到问题docker build bake
,但我认为这与操作系统有关,而不是与 Docker 有关。在执行构建期间 - 我收到“连接已重置”异常,apt-get
或wget
任何与互联网相关的异常。
在调查了 Docker 的日志之后,我看到了这些日志 -
2023-07-16 15:26:14.921972+0300 localhost com.docker.backend[2357]: tx 0 dropping packet length 21634: write unixgram ->: write: no buffer space available
2023-07-16 15:26:14.922294+0300 localhost com.docker.backend[2357]: tx 0 dropping packet length 32834: write unixgram ->: write: no buffer space available
2023-07-16 15:26:14.922501+0300 localhost com.docker.backend[2357]: tx 0 dropping packet length 32834: write unixgram ->: write: no buffer space available
2023-07-16 15:26:14.922549+0300 localhost com.docker.backend[2357]: tx 0 dropping packet length 22150: write unixgram ->: write: no buffer space available
2023-07-16 15:26:14.922574+0300 localhost com.docker.backend[2357]: tx 0 dropping packet length 21634: write unixgram ->: write: no buffer space available
2023-07-16 15:26:14.922612+0300 localhost com.docker.backend[2357]: tx 0 dropping packet length 32834: write unixgram ->: write: no buffer space available
2023-07-16 15:26:14.922648+0300 localhost com.docker.backend[2357]: tx 0 dropping packet length 32834: write unixgram ->: write: no buffer space available
2023-07-16 15:26:14.922682+0300 localhost com.docker.backend[2357]: tx 0 dropping packet length 32834: write unixgram ->: write: no buffer space available
我很确定这是问题所在,但我不知道如何解决它......
我在 MacOS M1 pro 上运行,有 32 GB 的内存,我不明白为什么没有缓冲空间......
有什么想法可以解决这个问题吗?