github.com/docker/app@v0.9.1-beta3.0.20210611140623-a48f773ab002/docs/compatibility.md (about) 1 List of supported features, depending on the Docker Compose version. 2 3 ``` 4 Legend: 5 - [*]: Supported everywhere 6 - [C]: docker-compose up [engine only] 7 - [c]: docker-compose up [engine only] (partial support or compatibility mode only, see documentation for details) 8 - [S]: docker stack deploy [Swarm] 9 - [K]: docker stack deploy [Kubernetes] 10 - [k]: docker stack deploy [Kubernetes] (supported but behavior might be slightly different) 11 ``` 12 13 ## docker stack deploy 14 15 | Features | 3.7 | 3.6 | 3.5 | 3.4 | 3.3 | 3.2 | 3.1 | 3.0 | 2.4 | 2.3 | 2.2 | 2.1 | 2.0 | 16 |------------------------------|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:| 17 | configs.<name> (long syntax) | SK | SK | SK | SK | SK | | | | | | | | | 18 | - external | SK | SK | SK | SK | SK | | | | | | | | | 19 | - file | SK | SK | SK | SK | SK | | | | | | | | | 20 | - mode | SK | SK | SK | SK | SK | | | | | | | | | 21 | - name | SK | SK | SK | | | | | | | | | | | 22 | configs.<name> (short syntax)| SK | SK | SK | SK | SK | | | | | | | | | 23 | - source | SK | SK | SK | SK | SK | | | | | | | | | 24 | - target | SK | SK | SK | SK | SK | | | | | | | | | 25 | - uid | SK | SK | SK | SK | SK | | | | | | | | | 26 | - gid | SK | SK | SK | SK | SK | | | | | | | | | 27 | - mode | SK | SK | SK | SK | SK | | | | | | | | | 28 | secrets.<name> | * | * | * | * | * | | | | | | | | | 29 | - external | SK | SK | SK | SK | SK | | | | | | | | | 30 | - file | * | * | * | * | * | | | | | | | | | 31 | - name | * | * | * | | | | | | | | | | | 32 | services.<name> | * | * | * | * | * | * | * | * | * | * | * | * | * | 33 | - build | C | C | C | C | C | C | C | C | C | C | C | C | C | 34 | - args | C | C | C | C | C | C | C | C | C | C | C | C | C | 35 | - cache_from | C | C | C | C | C | C | C | C | C | C | C | C | C | 36 | - context | C | C | C | C | C | C | C | C | C | C | C | C | C | 37 | - dockerfile | C | C | C | C | C | C | C | C | C | C | C | C | C | 38 | - extra_hosts | C | C | C | C | C | C | C | C | C | C | C | C | C | 39 | - labels | C | C | C | C | C | C | C | C | C | C | C | C | C | 40 | - network | C | C | C | C | C | C | C | C | C | C | C | C | C | 41 | - shm_size | C | C | C | C | C | C | C | C | C | C | C | C | C | 42 | - target | C | C | C | C | C | C | C | C | C | C | C | C | C | 43 | - cap_add | CK | CK | CK | CK | CK | CK | CK | C | C | C | C | C | C | 44 | - cap_drop | CK | CK | CK | CK | CK | CK | CK | C | C | C | C | C | C | 45 | - cpu_shares | | | | | | | | | C | C | C | C | C | 46 | - cpu_quota | | | | | | | | | C | C | C | C | C | 47 | - cpuset | | | | | | | | | C | C | C | C | C | 48 | - command | * | * | * | * | * | * | * | * | * | * | * | * | * | 49 | - configs | CK | CK | CK | CK | CK | | | | | | | | | 50 | - cgroup_parent | C | C | C | C | C | C | C | C | C | C | C | C | C | 51 | - container_name | C | C | C | C | C | C | C | C | C | C | C | C | C | 52 | - credential_spec | CK | CK | CK | CK | CK | | | | | | | | | 53 | - file | * | * | * | * | * | | | | | | | | | 54 | - registry | * | * | * | * | * | | | | | | | | | 55 | - deploy | SK | SK | SK | SK | SK | SK | SK | SK | | | | | | 56 | - endpoint_mode | S | S | S | S | S | | | | | | | | | 57 | - dnsrr | S | S | S | S | S | | | | | | | | | 58 | - vip | S | S | S | S | S | | | | | | | | | 59 | - labels | SK | SK | SK | SK | SK | SK | SK | SK | | | | | | 60 | - mode | SK | SK | SK | SK | SK | SK | SK | SK | | | | | | 61 | - placement | SK | SK | SK | SK | SK | SK | SK | SK | | | | | | 62 | - replicas | cSK | cSK | cSK | cSK | cSK | cSK | cSK | cSK | | | | | | 63 | - resources | cSK | cSK | cSK | cSK | cSK | cSK | cSK | cSK | | | | | | 64 | - limits | SK | SK | SK | SK | SK | SK | SK | SK | | | | | | 65 | - reservations | SK | SK | SK | SK | SK | SK | SK | SK | | | | | | 66 | - restart_policy | cSK | cSK | cSK | cSK | cSK | cSK | cSK | cSK | | | | | | 67 | - condition: none | SK | SK | SK | SK | SK | SK | SK | SK | | | | | | 68 | - condition: on-failure | SK | SK | SK | SK | SK | SK | SK | SK | | | | | | 69 | - condition: any | SK | SK | SK | SK | SK | SK | SK | SK | | | | | | 70 | - delay | S | S | S | S | S | S | S | S | | | | | | 71 | - max_attempts | S | S | S | S | S | S | S | S | | | | | | 72 | - window | S | S | S | S | S | S | S | S | | | | | | 73 | - rollback_config | S | | | | | | | | | | | | | 74 | - delay | S | | | | | | | | | | | | | 75 | - failure_action | S | | | | | | | | | | | | | 76 | - max_failure_ratio | S | | | | | | | | | | | | | 77 | - monitor | S | | | | | | | | | | | | | 78 | - order | S | | | | | | | | | | | | | 79 | - parallelism | S | | | | | | | | | | | | | 80 | - update_config | SK | SK | SK | SK | SK | SK | SK | SK | | | | | | 81 | - delay | SK | SK | SK | SK | SK | SK | SK | SK | | | | | | 82 | - failure_action | SK | SK | SK | SK | SK | SK | SK | SK | | | | | | 83 | - max_failure_ratio | SK | SK | SK | SK | SK | SK | SK | SK | | | | | | 84 | - monitor | SK | SK | SK | SK | SK | SK | SK | SK | | | | | | 85 | - order | SK | SK | SK | SK | | | | | | | | | | 86 | - parallelism | SK | SK | SK | SK | SK | SK | SK | SK | | | | | | 87 | - devices | C | C | C | C | C | C | C | C | C | C | C | C | C | 88 | - depends_on | C | C | C | C | C | C | C | C | C | C | C | C | C | 89 | - dns | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 90 | - dns_search | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 91 | - domainname | C | C | C | C | C | C | C | C | C | C | C | C | C | 92 | - entrypoint | * | * | * | * | * | * | * | * | * | * | * | * | * | 93 | - env_file | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 94 | - environment | * | * | * | * | * | * | * | * | * | * | * | * | * | 95 | - expose | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 96 | - external_links | C | C | C | C | C | C | C | C | C | C | C | C | C | 97 | - extra_hosts | * | * | * | * | * | * | * | * | * | * | * | * | * | 98 | - healthcheck | * | * | * | * | * | * | * | * | * | * | * | * | | 99 | - disable | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 100 | - interval | * | * | * | * | * | * | * | * | * | * | * | * | * | 101 | - retries | * | * | * | * | * | * | * | * | * | * | * | * | * | 102 | - start_period | CS | CS | CS | CS | | | | | | | | | | 103 | - test | * | * | * | * | * | * | * | * | * | * | * | * | * | 104 | - timeout | * | * | * | * | * | * | * | * | * | * | * | * | * | 105 | - hostname | * | * | * | * | * | * | * | * | * | * | * | * | * | 106 | - image | * | * | * | * | * | * | * | * | * | * | * | * | * | 107 | - init | C | | | | | | | | | | | | | 108 | - ipc | CK | CK | CK | CK | CK | CK | CK | CK | C | C | C | C | C | 109 | - isolation | CS | CS | CS | | | | | | | | | | | 110 | - labels | * | * | * | * | * | * | * | * | * | * | * | * | * | 111 | - links | C | C | C | C | C | C | C | C | C | C | C | C | C | 112 | - logging | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 113 | - driver | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 114 | - options | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 115 | - mac_address | C | C | C | C | C | C | C | C | C | C | C | C | C | 116 | - mem_limit | | | | | | | | | C | C | C | C | C | 117 | - mem_swappiness | | | | | | | | | C | C | C | C | C | 118 | - memswap_limit | | | | | | | | | C | C | C | C | C | 119 | - network_mode | C | C | C | C | C | C | C | C | C | C | C | C | C | 120 | - networks | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 121 | - <name> | CS | CS | CS | CS | | | | | | | | | | 122 | - aliases | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 123 | - ipv4_address | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 124 | - ipv6_address | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 125 | - link_local_ips | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | | 126 | - priority | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 127 | - pid | * | * | * | * | * | * | * | * | * | * | * | * | * | 128 | - ports | * | * | * | * | * | * | * | * | * | * | * | * | * | 129 | - mode: | * | * | * | * | * | * | * | * | * | * | * | * | * | 130 | - host | CSk | CSk | CSk | CSk | CSk | CSk | CSk | CSk | CS | CS | CS | CS | CS | 131 | - ingress | CSk | CSk | CSk | CSk | CSk | CSk | CSk | CSk | CS | CS | CS | CS | CS | 132 | - protocol | * | * | * | * | * | * | * | * | * | * | * | * | * | 133 | - published | * | * | * | * | * | * | * | * | * | * | * | * | * | 134 | - target | * | * | * | * | * | * | * | * | * | * | * | * | * | 135 | - privileged | CK | CK | CK | CK | CK | CK | CK | CK | CK | CK | CK | CK | CK | 136 | - read_only | * | * | * | * | * | * | * | * | * | * | * | * | * | 137 | - restart | C | C | C | C | C | C | C | C | C | C | C | C | C | 138 | - runtime | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | | | | 139 | - secrets | * | * | * | * | * | * | * | * | * | * | * | * | * | 140 | - gid | SK | SK | SK | SK | SK | SK | SK | SK | SK | SK | SK | SK | SK | 141 | - mode | SK | SK | SK | SK | SK | SK | SK | SK | SK | SK | SK | SK | SK | 142 | - name | CS | CS | CS | CS | | | | | | | | | | 143 | - source | * | * | * | * | * | * | * | * | * | * | * | * | * | 144 | - target | * | * | * | * | * | * | * | * | * | * | * | * | * | 145 | - uid | SK | SK | SK | SK | SK | SK | SK | SK | SK | SK | SK | SK | SK | 146 | - security_opt | C | C | C | C | C | C | C | C | C | C | C | C | C | 147 | - shm_size | C | C | C | C | C | C | C | C | C | C | C | C | C | 148 | - stdin_open | * | * | * | * | * | * | * | * | * | * | * | * | * | 149 | - stop_grace_period | * | * | * | * | * | * | * | * | * | * | * | * | * | 150 | - stop_signal | C | C | C | C | C | C | C | C | C | C | C | C | C | 151 | - sysctls | C | C | C | C | C | C | C | C | C | C | C | C | C | 152 | - tmpfs | * | * | * | * | * | * | * | * | * | * | * | * | * | 153 | - tty | * | * | * | * | * | * | * | * | * | * | * | * | * | 154 | - ulimits | C | C | C | C | C | C | C | C | C | C | C | C | C | 155 | - user | * | * | * | * | * | * | * | * | * | * | * | * | * | 156 | - numerical | * | * | * | * | * | * | * | * | * | * | * | * | * | 157 | - name | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 158 | - userns_mode | C | C | C | C | C | C | C | C | C | C | C | C | C | 159 | - volumes | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 160 | - volumes_from | | | | | | | | | C | C | C | C | C | 161 | - working_dir | * | * | * | * | * | * | * | * | * | * | * | * | * | 162 | networks.<name> | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 163 | - driver | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 164 | - driver_opts | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 165 | - enable_ipv6 | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | | 166 | - ipam | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 167 | - driver | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 168 | - config | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 169 | - subnet | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 170 | - ip_range | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 171 | - gateway | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 172 | - aux_addresses | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 173 | - options | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 174 | - internal | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 175 | - labels | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | | 176 | - external | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | 177 | - name | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | CS | | 178 | volumes.<name> (long syntax) | * | * | * | * | * | * | | | | | | | | 179 | - read_only | * | * | * | * | * | * | | | | | | | | 180 | - source | * | * | * | * | * | * | | | | | | | | 181 | - target | * | * | * | * | * | * | | | | | | | | 182 | - type | * | * | * | * | * | * | | | | | | | | 183 | - volume | * | * | * | * | * | * | | | | | | | | 184 | - bind | * | * | * | * | * | * | | | | | | | | 185 | - tmpfs | * | * | * | * | * | * | | | | | | | | 186 | - bind | CS | CS | CS | CS | CS | CS | | | | | | | | 187 | - propagation | CS | CS | CS | CS | CS | CS | | | | | | | | 188 | - volume | CS | CS | CS | CS | CS | CS | | | | | | | | 189 | - nocopy | CS | CS | CS | CS | CS | CS | | | | | | | | 190 | - tmpfs | CS | CS | | | | | | | | | | | | 191 | - size | CS | CS | | | | | | | | | | | | 192 | volume.<name> (short syntax) | * | * | * | * | * | * | * | * | * | * | * | * | * |