Este conteúdo não está disponível no idioma selecionado.

7.23. fabric:container-stop


Abstract

Shuts down the specified container

Synopsis

fabric:container-stop [ --help ] [ --user user ] [ --password password ] [ -f, --force ] { GlobList }

Arguments

Table 7.23, “fabric:container-stop Arguments” describes the command's arguments.
Table 7.23. fabric:container-stop Arguments
ArgumentInterpretation
--help Displays the online help for this command
--user Specifies the username of the user performing this action.
--password Specifies the password of the user performing this action.
-f, --force Forces execution of the command, regardless of the known state of the container.
GlobList(Required) Specifies the list of containers to stop, separated by spaces. Globbing is supported as follows: ?, matches zero or one characters; *, matches zero or more characters.

Using alternative credentials

Each time a container is created Fabric stores the credentials used to create the container and will reuse them for all life cycle operations (start, stop, delete). If the credentials have changed, the updated credentials need to be specified as options. Each container type (child, ssh, jclouds) uses different kind of credentials, as follows:
  • Child containers: Use the JMX credentials of the parent container.
  • SSH containers: Use the SSH credentials of the target host.
  • JClouds containers: Use the ssh credentials of the instance.
For example:
fabric:container-stop --user NewJmxUserOfParent --password NewJmxPasswordOfParent child1
fabric:container-stop --password NewSshPasswordOfTargetHost ssh1
fabric:container-stop --password NewSshPasswordOfTargetHost cloud1
Red Hat logoGithubRedditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja oBlog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

© 2024 Red Hat, Inc.