code: func (c *container) Rm(force bool, volumes bool) {
  	if c.Exists() {
  		name := c.ActualName(false)
  		containerIsRunning := c.Running()
  		if !force && containerIsRunning {
  			fmt.Fprintf(c.CommandsOut(), "Cannot remove running container %s, use --force to remove anyway.\n", name)
  			return
  		}
  		args := []string{"rm"}
  		if force && containerIsRunning {
  			executeHook(c.Hooks().PreStop(), name)
  			args = append(args, "--force")
  		}
  		if volumes {
  			fmt.Fprintf(c.CommandsOut(), "Removing container %s and its volumes ...\n", name)
  			args = append(args, "--volumes")
  		} else {
  			fmt.Fprintf(c.CommandsOut(), "Removing container %s ...\n", name)
  		}
  		args = append(args, name)
  		executeCommand("docker", args, c.CommandsOut(), c.CommandsErr())
  		if force && containerIsRunning {
  			executeHook(c.Hooks().PostStop(), name)
  		}
  		c.id = ""
  	}
  }
docs: // Remove container