Docker の検索・質問

docker secret rm

マークダウン参照
内容説明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.