mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-15 22:15:48 +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 * podman, podman-*: add pt_BR translation * fix: typos * Update pages.pt_BR/common/podman-ps.md * Update podman-ps.md --------- Co-authored-by: Waldir Pimenta <waldyrious@gmail.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
37 lines
1 KiB
Markdown
37 lines
1 KiB
Markdown
# podman
|
|
|
|
> Ferramenta de gerenciamento simples para pods, contêineres e imagens.
|
|
> O Podman fornece uma linha de comando comparável ao Docker-CLI. Simplificando: `alias docker=podman`.
|
|
> Mais informações: <https://github.com/containers/podman/blob/main/commands-demo.md>.
|
|
|
|
- Listar todos os contêineres (em execução e parados):
|
|
|
|
`podman ps --all`
|
|
|
|
- Criar um contêiner a partir de uma imagem, com um nome personalizado:
|
|
|
|
`podman run --name {{nome_do_contêiner}} {{imagem}}`
|
|
|
|
- Iniciar ou parar um contêiner existente:
|
|
|
|
`podman {{start|stop}} {{nome_do_contêiner}}`
|
|
|
|
- Baixar uma imagem de um registro (por padrão, Docker Hub):
|
|
|
|
`podman pull {{imagem}}`
|
|
|
|
- Exibir a lista de imagens já baixadas:
|
|
|
|
`podman images`
|
|
|
|
- Abrir um shell dentro de um contêiner que já está em execução:
|
|
|
|
`podman exec --interactive --tty {{nome_do_contêiner}} {{sh}}`
|
|
|
|
- Remover um contêiner parado:
|
|
|
|
`podman rm {{nome_do_contêiner}}`
|
|
|
|
- Exibir os logs de um ou mais contêineres e acompanhar a saída do log:
|
|
|
|
`podman logs --follow {{nome_do_contêiner}} {{id_do_contêiner}}`
|