code: func NewKillCommand(dockerCli command.Cli) *cobra.Command {
  	var opts killOptions
  
  	cmd := &cobra.Command{
  		Use:   "kill [OPTIONS] CONTAINER [CONTAINER...]",
  		Short: "Kill one or more running containers",
  		Args:  cli.RequiresMinArgs(1),
  		RunE: func(cmd *cobra.Command, args []string) error {
  			opts.containers = args
  			return runKill(dockerCli, &opts)
  		},
  	}
  
  	flags := cmd.Flags()
  	flags.StringVarP(&opts.signal, "signal", "s", "KILL", "Signal to send to the container")
  	return cmd
  }
docs: // NewKillCommand creates a new cobra.Command for `docker kill`