add service help message of ufw-docker
This commit is contained in:
parent
1c87b364f4
commit
e942f1fc4b
13
ufw-docker
13
ufw-docker
@ -180,6 +180,10 @@ function ufw-docker--help() {
|
||||
Usage:
|
||||
ufw-docker <list|allow> [docker-instance-id-or-name [port[/tcp|/udp]]]
|
||||
ufw-docker delete allow [docker-instance-id-or-name [port[/tcp|/udp]]]
|
||||
|
||||
ufw-docker service <list|allow> [swarm-service-id-or-name [port[/tcp|/udp]]]
|
||||
ufw-docker service delete allow [swarm-service-id-or-name [port[/tcp|/udp]]]
|
||||
|
||||
ufw-docker <status|install|help>
|
||||
|
||||
Examples:
|
||||
@ -196,6 +200,15 @@ function ufw-docker--help() {
|
||||
|
||||
ufw-docker delete allow httpd
|
||||
ufw-docker delete allow httpd 443/tcp
|
||||
|
||||
ufw-docker service list httpd
|
||||
|
||||
ufw-docker service allow httpd
|
||||
ufw-docker service allow httpd 80
|
||||
ufw-docker service allow httpd 443/tcp
|
||||
|
||||
ufw-docker service delete allow httpd
|
||||
ufw-docker service delete allow httpd 443/tcp
|
||||
EOF
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user