Sail中文文档:一个开发环境快速部署工具-16-Sail命令之ls


16-Sail命令之ls

Usage: sail ls

Lists all containers with the com.coder.sail label.

sail ls flags:
	--all	Show stopped container.(false)

ls 命令会列出所有的容器,但是容器标签是com.coder.sail库的标签

示例输出:

name                 hat   url                     status
cdr/sail                   http://127.0.0.1:8828   Up About an hour
cdr/sshcode                http://127.0.0.1:8130   Up About an hour
cdr/m                      http://127.0.0.1:8754   Up About an hour
cdr/code-server            http://127.0.0.1:8828   Up About an hour
cdr/sail-tmp-kEG58         http://127.0.0.1:8130   Up About an hour

文章作者: 枫山别院
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 枫山别院 !
  目录