Docker CLI 的动态更新输出未在 ConEmu 中按预期呈现

Docker CLI 的动态更新输出未在 ConEmu 中按预期呈现

我在 ConEmu 终端中运行这个 docker 命令,并得到以下输出:

>docker-compose up --build
[+] Building 0.0s (0/0)   <--\
[+] Building 0.0s (0/0)       |
[+] Building 0.0s (0/0)       |
[+] Building 0.0s (0/1)       |
[+] Building 0.2s (2/2)       | These lines are supposed to 
[+] Building 0.3s (2/3)       | replace the old ones in-place
[+] Building 0.5s (2/3)       |
[+] Building 0.6s (2/3)       |
[+] Building 0.8s (2/3)       |
[+] Building 1.0s (2/3)       |
[+] Building 1.1s (2/3)       |
[+] Building 1.3s (2/3)       |
[+] Building 1.4s (2/3)       |
[+] Building 1.6s (2/3)       |
[+] Building 1.7s (5/8)   <--/
[+] Building 1.8s (9/9) FINISHED
 => [internal] load build definition from Dockerfile                                                         0.0s  => [internal] load build definition from Dockerfile                                                         0.0s  => => transferring dockerfile: 32B                                                                          0.0s  => [internal] load .dockerignore                                                                            0.0s  => => transferring context: 34B                                                                             0.0s  => [internal] load metadata for docker.io/library/node:17                                                   1.5s  => [1/4] FROM docker.io/library/node:17@sha256:3f8047ded7bb8e217a879e2d7aabe23d40ed7f975939a384a0f111cc041  0.0s  => [internal] load build context                                                                            0.0s  => => transferring context: 71B                                                                             0.0s  => CACHED [2/4] WORKDIR /usr/src/app                                                                        0.0s  => CACHED [3/4] COPY package*.json .                                                                        0.0s  => CACHED [4/4] RUN npm install                                                                             0.0s  => exporting to image                                                                                       0.1s  => => exporting layers                                                                                      0.0s  => => writing image sha256:abca816d879343fd4c7f0043929bad1dd6dfe02cd3a7b97516345aead5c58a20                 0.0s  => => naming to docker.io/library/test-app_app                                                              0.0s

[+] Running 1/0
 - Container test-app-app-1  Created                                                                         0.0s Attaching to test-app-app-1
test-app-app-1 exited with code 0

上面标记的行无法正确显示。它应该是一个动态更新的输出,这些行应该替换旧行,而不是在新行中记录每个更新。

它在常规 cmd.exe 中按预期工作。

这是 ConEmu 的问题吗?我已经用新的干净配置文件进行了测试,以确保我的自定义设置不会造成任何影响。

我在用着:

  • 康埃穆 220308 [64]
  • Docker 版本 20.10.14,内部版本 a224086
  • Windows 10 Pro x64 [版本 10.0.19044.1645]

相关内容