Used for services using Windows containers. Using group Managed ServiceĪccount (gMSA) configurations with compose files is supported in file formatĬonfigure the credential spec for managed service account. The credential_spec option was added in v3.3. The container_name option is ignored whenĭeploying a stack in swarm mode credential_spec The redis service does not have access to the my_other_configīecause Docker container names must be unique, you cannot scale a service beyondġ container if you have specified a custom name. The following example sets the name of my_config to redis_config within theĬontainer, sets the mode to 0440 (group-readable) and sets the user and group UNIX file permission modes, you may find this Configs cannot be writableīecause they are mounted in a temporary filesystem, so if you set the writableīit, it is ignored.
For example, Compose file formatģ.0 was first introduced in Compose release Itself is on a release schedule, as shown in Composeĭo not necessarily increment with each release. In addition to Compose file format versions shown in the table, the Compose This table shows which Compose file versions support specific Docker releases.
#Driverdoc full version how to
How to upgrade, see About versions and upgrading. For full details on what each version includes and There are several versions of the Compose file format – 1, 2, 2.x, and 3.x. These topics describe version 3 of the Compose file format. Estimated reading time: 82 minutes Reference and guidelines