1. docker service ls

    如果出现0/1。

    1. docker ps -a
    2. docker logs

    如果没启动容器,

    1. docker stack ps ${service_name} --no-trunc

    出现以下说明镜像没下载完
    CURRENT STATE
    Preparing xx minutes ago

    目录权限有问题也会报不存在的错

    “invalid mount config for type “bind”: bind source path does not exist: