This topic describes the differences in container configurations and labels when you create an application from an image in a Container Service for Swarm cluster and in a Container Service for Kubernetes (ACK) cluster.
Create an application from an image
- For more information about how to create an application from an image in a Swarm cluster, see Create an application.
- For more information about how to create an application from an image in an ACK cluster, see Deploy a stateless application from an image.
Container configurations
Swarm cluster
To configure a container, you must set start commands (Command and Entrypoint), resource limits (CPU and Memory), and start parameters.

ACK cluster
- For more information about the lifecycle configurations of a container in an ACK cluster, see Deploy a stateless application from an image.
- Start
- Post Start
- Pre Stop
- For more information about how to configure the basic settings of a container in an ACK cluster, see Deploy a stateless application from an image. For the recommended settings, see Recommended configurations for high reliability.
- Resource Limit
- Required Resources
Labels
In Swarm clusters, labels can be used to implement health checks, domain name settings, and logging.
In ACK clusters, labels are only used to identify applications. When you create an application in an ACK cluster, a label that is named after the application name is automatically generated. This label is not displayed when you create the application from an image. You can configure YAML files to use the label.