weave命令



weave命令

安装weave

curl -L git.io/weave -o /usr/local/bin/weave

通过weave setup预先将weave相关的容器Image下载到各个节点

weave setup

启动跨多节点(peer) weave network

weave launch --no-dns 192.168.56.7 192.168.59

查看节点weave之间的连接状态:

weave status connections

weave网络的整体状态:

weave status

查看weave状态

weave status

查看状态详情

weave status connections

查看weave相互之间节点建立的关系

weave status peers

查看当前分配的容器

weave ps

查看weave当前版本

weave version

启动并与其他主机建立连接,启动weave并下载镜像

weave launch

进行连接 IP连接对端服务器

weave launch

使用weave代理

weave env

执行输出|来自weave env的输出

export DOCKER_HOST=unix:///var/run/weave/weave.sock

关闭weave

weave stop

关闭weave env代理

export DOCKER=OPTS=

weave 命令行参数

weave --help | help
weave setup
weave version
weave launch [--password ] [--nickname ]
[--ipalloc-range [--ipalloc-default-subnet ]]
[--no-discovery] [--init-peer-count ]
[--trusted-subnets ,…] …
weave launch-router [--password ] [--nickname ]
[--ipalloc-range [--ipalloc-default-subnet ]]
[--no-discovery] [--init-peer-count ] …
weave launch-proxy [-H ] [--without-dns]
[--no-default-ipalloc] [--no-rewrite-hosts]
[--no-multicast-route]
[--hostname-from-label ]
[--hostname-match ]
[--hostname-replacement ]
[--rewrite-inspect]
weave launch-plugin [--no-multicast-route]
weave env [--restore]
weave config
weave dns-args
weave connect [--replace] [ …]
weave forget …
weave status [targets | connections | peers | dns]
weave report [-f ]
weave run [--without-dns] [--no-rewrite-hosts] [--no-multicast-route]
[ …] …
weave start [ …]
weave attach [ …]
weave detach [ …]
weave dns-add [ …] [-h ] |
… -h
weave dns-remove [ …] [-h ] |
… -h
weave dns-lookup
weave expose [ …] [-h ]
weave hide [ …]
weave ps [ …]
weave stop
weave stop-router
weave stop-proxy
weave stop-plugin
weave reset
weave rmpeer

where = [:]
= /
= [ip:] | net: | net:default
= [tcp://][]: | [unix://]/path/to/socket
= or weave internal peer ID

「点点赞赏,手留余香」

    还没有人赞赏,快来当第一个赞赏的人吧!
未分类
未分类