gpt4 book ai didi

linux - docker 容器在运行 dotnet new 时挂起

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:23:49 28 4
gpt4 key购买 nike

卡在 microsoft/dotnet:latest docker 镜像上的 dotnet new 命令。我的 docker 信息见下文。有人遇到过这个问题吗?

详细步骤: 1. 我已经在 Ubuntu 桌面版 14.04 上安装了 docker 1.11.2。 2. 我运行 docker 命令:docker run -it microsoft/dotnet:latest to 下载并运行 dotnet 环境。 3. 当加载 dotnet docker 镜像时,我执行命令:dotnet new 来创建新的 dotnet 项目。 4. 显示项目创建成功,但是挂了不能退出,也不能用docker命令停止/杀掉

Containers: 1
Running: 1
Paused: 0
Stopped: 0
Images: 1
Server Version: 1.11.2
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 8
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: host bridge null
Kernel Version: 4.2.0-27-generic
Operating System: Ubuntu 14.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 1.937 GiB
Name: Ubuntu-Dev-01
ID: FL3Q:PM66:QJEG:D6D3:5WNM:GKDT:64MQ:JYZ6:PEQL:DMGP:DHPY:CU3R
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support

最佳答案

这看起来像 this bug reported on the dotnet-docker repo repo 协议(protocol),引用 this bug on the docker repo .每a comment there ,修复是升级到更新的内核(但不要太新,以避免 another bug )。

关于linux - docker 容器在运行 dotnet new 时挂起,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38695505/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com