Docker Community Forums

Share and learn in the Docker community.

How to create docker secret in custom location


(Kalahasthisatya) #1

Our docker details are here :slight_smile:Client:
Version: 17.09.0-ce
API version: 1.32
Go version: go1.8.3
Git commit: afdb6d4
Built: Tue Sep 26 22:41:23 2017
OS/Arch: linux/amd64

Server:
Version: 17.09.0-ce
API version: 1.32 (minimum version 1.12)
Go version: go1.8.3
Git commit: afdb6d4
Built: Tue Sep 26 22:42:49 2017
OS/Arch: linux/amd64
Experimental: false

I want to know how to create docker secret in custom location. I mean other than “/run/secrets” default location.
Can anyone send the command to create docker secret in custom location.