Constraints of Using vSphere Integrated Containers Engine with Docker Compose

There are some constraints on the types of containerized applications that you can deploy with this release of vSphere Integrated Containers Engine. For the lists of Docker features that this release supports and does not support, see Use and Limitations of Containers in vSphere Integrated Containers Engine.

Building Container Images

This release does not support the docker build or push commands. As a consequence, you must use regular Docker to build a container image and to push it to the global hub or to your private registry server.

Sharing Configuration

This release does not support data volume sharing or docker cp. As a consequence, providing configuration to a containerized application has some constraints.

An example of a configuration is the configuration files for a Web server. To pass configuration to a container, you can use the following workaround:

  • Use command line arguments or environment variables.
  • Add a script to the container image that ingests the command line argument or environment variable and passes the configuration to the container application.

A benefit of using environment variables to transfer configuration is the containerized application closely follows the popular 12-factor application model.

Since this release does not support sharing volumes between containers, you have the following options for processes that must share files:

  • Build the files into the same image and run them in the same container.
  • When containers are on the same network, add a script to the container that mounts an NFS share:
    • Run the container with an NFS server that shares a data volume.
    • Mount the NFS share on the containers that need to share files.

results matching ""

    No results matching ""