Docker-查看服务规模完整日志的位置

Docker-查看服务规模完整日志的位置,docker,Docker,这个问题相当简单,但我似乎无法用谷歌搜索它。基本上,我正在运行以下命令,并且正在裁剪输出: $ docker service scale omni_platform_omni_gallery_db=1 omni_platform_omni_gallery_db scaled to 1 overall progress: 0 out of 1 tasks 1/1: invalid mount config for type "bind": bind source path does not ex

这个问题相当简单,但我似乎无法用谷歌搜索它。基本上,我正在运行以下命令,并且正在裁剪输出:

$ docker service scale omni_platform_omni_gallery_db=1
omni_platform_omni_gallery_db scaled to 1
overall progress: 0 out of 1 tasks 
1/1: invalid mount config for type "bind": bind source path does not exist: /ho… 
我需要查看完整的输出,但似乎找不到/var/log/docker.log或类似的内容

感谢您的帮助:)

编辑:

我也尝试了以下方法,但没有成功:

$ docker service ps omni_platform_omni_gallery_db --format {{.Error}}
"invalid mount config for type…"
"invalid mount config for type…"
"invalid mount config for type…"
"invalid mount config for type…"
"invalid mount config for type…"

好的,我使用了
ps
命令,这是正确的。它还有一个
--no trunc
选项,因此正确的语法如下:

$ docker service ps omni_platform_omni_gallery_db --format {{.Error}} --no-trunc
"invalid mount config for type "bind": bind source path does not exist: /home/data"
"invalid mount config for type "bind": bind source path does not exist: /home/data"
"invalid mount config for type "bind": bind source path does not exist: /home/data"
"invalid mount config for type "bind": bind source path does not exist: /home/data"
"invalid mount config for type "bind": bind source path does not exist: /home/data"

你试过docker-D服务ps吗?