docker config create myconfig ./config.json

Category: Docker

docker config create myconfig ./config.json

Store a config file in the Swarm (accessible to services)

Stores a configuration file in the Swarm's distributed store. Services can read it without baking it into images.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.