| 内容説明 | Remove one or more secrets |
|---|---|
| 利用方法 | docker secret rm SECRET [SECRET...] |
エイリアス | docker secret remove |
Swarm このコマンドは Swarm オーケストレーターにおいて動作します。
内容説明
Removes the specified secrets from the swarm.
For detailed information about using secrets, refer to manage sensitive data with Docker secrets .
メモこれはクラスター管理コマンドであるため、Swarm のマネージャーノード上で実行する必要があります。 マネージャーノードとワーカーノードについては、本ドキュメントの Swarm モード を参照してください。
利用例
This example removes a secret:
$ docker secret rm secret.json
sapth4csdo5b6wz2p5uimh5xg
警告Unlike
docker rm, this command does not ask for confirmation before removing a secret.