mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-15 21:55:41 +02:00

* btrfs-restore: Add pt_BR translation * btrfs-version: Add pt_BR translation * btrfs-scrub: Add pt_BR translation * mkfs.btrfs: Add pt_BR translation * fix: remove trailing whitespaces and surround example by new line * Update pages.pt_BR/linux/btrfs-restore.md Co-authored-by: Waldir Pimenta <waldyrious@gmail.com> * Update pages.pt_BR/linux/btrfs-restore.md Co-authored-by: Waldir Pimenta <waldyrious@gmail.com> * Update pages.pt_BR/linux/btrfs-restore.md Co-authored-by: Waldir Pimenta <waldyrious@gmail.com> * fix: put beginning verbs in infinitive * docker*, x11docker, kdocker: add pt_BR translation --------- Co-authored-by: Waldir Pimenta <waldyrious@gmail.com>
32 lines
800 B
Markdown
32 lines
800 B
Markdown
# docker swarm
|
|
|
|
> Uma ferramenta de orquestração de contêineres.
|
|
> Mais informações: <https://docs.docker.com/engine/swarm/>.
|
|
|
|
- Inicializar um cluster do Swarm:
|
|
|
|
`docker swarm init`
|
|
|
|
- Exibir o token para ingressar como gerenciador ou trabalhador:
|
|
|
|
`docker swarm join-token {{worker|manager}}`
|
|
|
|
- Ingressar um novo nó ao cluster:
|
|
|
|
`docker swarm join --token {{token}} {{url_do_nó_gerenciador:2377}}`
|
|
|
|
- Remover um trabalhador do Swarm (executado dentro do nó trabalhador):
|
|
|
|
`docker swarm leave`
|
|
|
|
- Exibir o certificado CA atual no formato PEM:
|
|
|
|
`docker swarm ca`
|
|
|
|
- Rotacionar o certificado CA atual e exibir o novo certificado:
|
|
|
|
`docker swarm ca --rotate`
|
|
|
|
- Alterar o período de validade dos certificados dos nós:
|
|
|
|
`docker swarm update --cert-expiry {{horas}}h{{minutos}}m{{segundos}}s`
|