Supported Docker Compose File Options
vSphere Integrated Containers Engine 1.5 supports Docker Compose file version 2, 2.1, and 2.2.
This topic provides information about the Docker Compose file options that vSphere Integrated Containers Engine 1.5 supports.
Service Configuration Options
The following Docker run options are supported if their docker run
counterpart is supported: security_opt
, stop_grace_period
, stop_signal
, sysctls
, ulimits
, userns_mode
, cpu_shares
, cpu_quota
, cpuset
, domainname
, hostname
, ipc
, mac_address
, mem_limit
, memswap_limit
, oom_score_adj
, privileged
, read_only
, restart
, shm_size
, stdin_open
, tty
, user
, working_dir
.
Volume Configuration Options
Option | Compose File Reference | Supported |
---|---|---|
driver |
Specify driver to use for this volume | Yes |
driver_opts |
Specify options to pass to the driver for this volume | Yes |
labels |
Add metadata to containers | Yes |
external |
Specify that volume has been created outside of Compose | Yes |
Network Configuration Options
Option | Compose File Reference | Supported |
---|---|---|
driver |
Specify driver to use for this network | Yes |
driver_opts |
Specify options to pass to the driver for this network | No |
enable_ipv6 |
Enables IPv6 | No. IPv6 is not supported. |
ipam |
Specify custom IPAM configuration | Yes |
internal |
Create an externally isolated overlay network | Yes |
labels |
Add metadata to containers | Yes |
external |
Specify that network has been created outside of Compose | Yes |