Docker中exec和attach区别 docker attach 执行后会进入到 container 中docker exec 执行后,命令执行返回值并显示到宿主机中。 docker 本博客所有文章除特别声明外,均采用 CC BY-SA 4.0 协议 ,转载请注明出处! update by partition 上一篇 Docker alias 下一篇 Please enable JavaScript to view the comments