Files
tldr/pages.tr/common/docker-secret.md
2024-09-26 12:21:25 +02:00

25 lines
599 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# docker secret
> Docker swarm sırlarını yönet.
> Daha fazla bilgi için: <https://docs.docker.com/reference/cli/docker/secret/>.
- `stdin`'den yeni bir sır yarat:
`{{komut}} | docker secret create {{sır_ismi}} -`
- Bir dosyadan yeni sır oluşturun:
`docker secret create {{sır_ismi}} {{örnek/dosya}}`
- Tüm sırları sırala:
`docker secret ls`
- Bir veya daha fazla sırra dair detaylı bilgiyi insan dostu bir formatta göster:
`docker secret inspect --pretty {{sır_ismi1 sır_ismi2 ...}}`
- Bir veya daha fazla sırrı sil:
`docker secret rm {{sır_ismi1 sır_ismi2 ...}}`