7

docker 打前端镜像时,执行 dockerfile 文件,前端 npm run build 失败时怎么进容器看...

 1 year ago
source link: https://www.v2ex.com/t/859228
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  问与答

docker 打前端镜像时,执行 dockerfile 文件,前端 npm run build 失败时怎么进容器看 npm 日志

  Er1c0 · 42 分钟前 · 146 次点击

docker 打前端镜像时,执行 dockerfile 文件,前端 npm run build 失败时, 怎么进容器看 /root/.npm/_logs/2022-06-13T02_42_11_657Z-debug.log 日志

此时容器运行不起了,也进去不

[root@VM-4-7-centos]# docker exec -it great_rubin /bin/bash Error response from daemon: Container 9b6a76 is not running


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK