Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "run-tcp-proxy-in-docker <external_port> <internal_port>", Short: "Run slu tcp proxy in Docker", Args: cobra.ExactArgs(2), Aliases: []string{"run-proxy"}, Run: func(c *cobra.Command, args []string) { e := args[0] i := args[1] exec_utils.ExecOut( "docker", "run", "-d", "--name", "slu-tcp-proxy-"+e+"-"+i, "--network", "host", "sikalabs/slu:v0.60.0", "slu", "proxy", "tcp", "-l", ":"+e, "-r", "127.0.0.1:"+i, ) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.