edit-icon download-icon

Unsupported Docker Compose labels

Last Updated: Feb 12, 2018

The Docker Compose labels that are not supported by Container Service are as follows:

LabelDescription
buildThis label is used to build container images by using the Dockerfile and other files in the current directory.
Currently Container Service does not provide the function to build images. We recommend that you separate the building and deployment operations.
You can use image repository to build the image from the code source, or push the image built locally to the image repository. You can use the image label in the orchestration template to reference the image in the image repository (including private repository).
dockerfileThe same as build.
env_fileCurrently Container Service does not support specifying environment variables in files. You can add environment variables by using the environment label.
mac_addressCurrently the setting of MAC address is not supported.
detachAll the images in Container Service are enabled in the detach mode, and the attach mode is not allowed.
stdin_openThe same as detach.
tty The same as detach.
extends Not supported.
Thank you! We've received your feedback.