> For the complete documentation index, see [llms.txt](https://docs.release.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.release.com/reference-documentation/docker-compose-conversion-support.md).

# Docker Compose conversion support

The Release team has worked with thousands of Docker Compose files to generate working environments in Kubernetes. Here is the supported conversion matrix for Docker Compose

| Keys                    | Supported | Kubernetes                       | Notes                                                                                                                                                                     |
| ----------------------- | :-------: | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| build                   |     ✅     |                                  |                                                                                                                                                                           |
| build: context          |     ✅     |                                  |                                                                                                                                                                           |
| build: dockerfile       |     ✅     |                                  |                                                                                                                                                                           |
| build: args             |     ✅     |                                  |                                                                                                                                                                           |
| build: cache\_from      |     🚧    |                                  |                                                                                                                                                                           |
| cap\_add                |     🚧    |                                  |                                                                                                                                                                           |
| cap\_drop               |     🚧    |                                  |                                                                                                                                                                           |
| command                 |     ✅     | Pod.Spec.Container.Args          |                                                                                                                                                                           |
| configs                 |     ✅     | ConfigMap                        | Configs with "external" = true are skipped.                                                                                                                               |
| configs: short-syntax   |     ✅     |                                  |                                                                                                                                                                           |
| configs: long-syntax    |     ✅     |                                  |                                                                                                                                                                           |
| configs: source         |     ✅     |                                  |                                                                                                                                                                           |
| configs: target         |     ✅     |                                  |                                                                                                                                                                           |
| configs: uid            |     🚧    |                                  |                                                                                                                                                                           |
| configs: gid            |     🚧    |                                  |                                                                                                                                                                           |
| configs: mode           |     ✅     |                                  |                                                                                                                                                                           |
| cgroup\_parent          |     ❌     |                                  | Not supported in Kubernetes. See <https://github.com/kubernetes/kubernetes/issues/11986>                                                                                  |
| container\_name         |     🚧    |                                  |                                                                                                                                                                           |
| credential\_spec        |     ❌     |                                  |                                                                                                                                                                           |
| deploy                  |     ✅     |                                  |                                                                                                                                                                           |
| deploy: mode            |     ❌     |                                  | kompose supports mode by setting "replicas" = 1 when "mode" = "global". Release does not support this functionality. See <https://github.com/kubernetes/kompose/pull/771> |
| deploy: replicas        |     ✅     | Deployment.Spec.Replicas         |                                                                                                                                                                           |
| deploy: placement       |     🚧    |                                  |                                                                                                                                                                           |
| deploy: update\_config  |     🚧    |                                  |                                                                                                                                                                           |
| deploy: resources       |     ✅     |                                  |                                                                                                                                                                           |
| deploy: restart\_policy |     🚧    |                                  |                                                                                                                                                                           |
| deploy: labels          |     🚧    |                                  |                                                                                                                                                                           |
| devices                 |     ❌     |                                  | Not supported in Kubernetes. See <https://github.com/kubernetes/kubernetes/issues/5607>                                                                                   |
| depends\_on             |     ✅     |                                  | Release's Application Template - Workflows                                                                                                                                |
| dns                     |     ❌     |                                  |                                                                                                                                                                           |
| dns\_search             |     ❌     |                                  |                                                                                                                                                                           |
| domainname              |     🚧    |                                  |                                                                                                                                                                           |
| tmpfs                   |     🚧    |                                  |                                                                                                                                                                           |
| entrypoint              |     ✅     | Pod.Spec.Container.Command       |                                                                                                                                                                           |
| env\_file               |     ✅     | Pod.Spec.Container.Env           |                                                                                                                                                                           |
| environment             |     ✅     | Pod.Spec.Container.Env           |                                                                                                                                                                           |
| expose                  |     🚧    |                                  |                                                                                                                                                                           |
| endpoint\_mode          |     🚧    |                                  |                                                                                                                                                                           |
| extends                 |     ✅     |                                  | Release will read the extended file from the VCS and add the appropriate information                                                                                      |
| external\_links         |     ❌     |                                  |                                                                                                                                                                           |
| extra\_hosts            |     ❌     |                                  |                                                                                                                                                                           |
| group\_add              |     🚧    |                                  |                                                                                                                                                                           |
| healthcheck             |     ✅     |                                  |                                                                                                                                                                           |
| hostname                |     🚧    |                                  |                                                                                                                                                                           |
| image                   |     ✅     | Deployment.Spec.Containers.Image |                                                                                                                                                                           |
| isolation               |     ❌     |                                  |                                                                                                                                                                           |
| labels                  |     🚧    |                                  |                                                                                                                                                                           |
| links                   |     ❌     |                                  |                                                                                                                                                                           |
| logging                 |     ❌     |                                  |                                                                                                                                                                           |
| network\_mode           |     ❌     |                                  |                                                                                                                                                                           |
| networks                |     🚧    |                                  |                                                                                                                                                                           |
| networks: aliases       |     ❌     |                                  |                                                                                                                                                                           |
| networks: addresses     |     ❌     |                                  |                                                                                                                                                                           |
| pid                     |     🚧    |                                  |                                                                                                                                                                           |
| ports                   |     ✅     | Service.Spec.Ports               |                                                                                                                                                                           |
| ports: protocol         |     ✅     | Service.Spec.Ports               |                                                                                                                                                                           |
| ports: published        |     ✅     | Service.Spec.Ports               |                                                                                                                                                                           |
| ports: target           |     ✅     | Service.Spec.Ports               |                                                                                                                                                                           |
| secrets                 |     ✅     | Secrets                          | Release will map secret definitions into the Application Template. They require adding secrets to Release's Secrets Manager                                               |
| secrets: source         |     ✅     |                                  |                                                                                                                                                                           |
| secrets: target         |     ✅     |                                  |                                                                                                                                                                           |
| secrets: uid            |     ❌     |                                  |                                                                                                                                                                           |
| secrets: gid            |     ❌     |                                  |                                                                                                                                                                           |
| secrets: mode           |     ❌     |                                  |                                                                                                                                                                           |
| security\_opt           |     ❌     |                                  |                                                                                                                                                                           |
| stop\_grace\_period     |     🚧    |                                  |                                                                                                                                                                           |
| stop\_signal            |     ❌     |                                  | Not supported in Kuberentes currently. See <https://github.com/kubernetes/kubernetes/issues/30051>                                                                        |
| sysctls                 |     ❌     |                                  |                                                                                                                                                                           |
| ulimits                 |     ❌     |                                  |                                                                                                                                                                           |
| userns\_mode            |     ❌     |                                  |                                                                                                                                                                           |
| volumes                 |     ✅     | PersistentVolumeClaim            | Volumes with "external" = true are skipped.                                                                                                                               |
| volumes: short-syntax   |     ✅     |                                  |                                                                                                                                                                           |
| volumes: long-syntax    |     ✅     |                                  |                                                                                                                                                                           |
| volumes: read\_only     |     ✅     |                                  |                                                                                                                                                                           |
| volumes: source         |     ✅     | PersistentVolumeClaim            |                                                                                                                                                                           |
| volumes: target         |     ✅     | PersistentVolumeClaim            |                                                                                                                                                                           |
| volumes: type           |     ✅     | PersistentVolumeClaim            | "volume", "bind", and "tmpfs" are supported. "npipe" is not supported.                                                                                                    |
| restart                 |     🚧    |                                  |                                                                                                                                                                           |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.release.com/reference-documentation/docker-compose-conversion-support.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
