我如何在主机中启动应用程序以便从正在运行的docker容器中读取文件和stdout?
基本上我想这样做:
docker start containerid ./myapp // This app will *somehow* have access files and stdout generated by the container I just stared.
我该怎么做呢?更具体地说明我试图去做的地方; 我想读取docker容器的日志和stdout,并在其他地方处理这些日志.
我也愿意创建另一个可以从另一个容器中读取文件和stdout的docker容器,但我不知道是否可能.