github.com/containerd/nerdctl@v1.7.7/docs/compose.md (about)

     1  # nerdctl compose
     2  
     3  | :zap: Requirement | nerdctl >= 0.8 |
     4  |-------------------|----------------|
     5  
     6  ## Usage
     7  
     8  The `nerdctl compose` CLI is designed to be compatible with `docker-compose`.
     9  
    10  ```console
    11  $ nerdctl compose up -d
    12  $ nerdctl compose down
    13  ```
    14  
    15  See the Command Reference in [`../README.md`](../README.md).
    16  
    17  ## Spec conformance
    18  
    19  `nerdctl compose` implements [The Compose Specification](https://github.com/compose-spec/compose-spec),
    20  which was derived from [Docker Compose file version 3 specification](https://docs.docker.com/compose/compose-file/compose-file-v3/).
    21  
    22  ### Unimplemented YAML fields
    23  - Fields that correspond to unimplemented `docker run` flags, e.g., `services.<SERVICE>.links` (corresponds to `docker run --link`)
    24  - Fields that correspond to unimplemented `docker build` flags, e.g., `services.<SERVICE>.build.extra_hosts` (corresponds to `docker build --add-host`)
    25  - `services.<SERVICE>.credential_spec`
    26  - `services.<SERVICE>.deploy.update_config`
    27  - `services.<SERVICE>.deploy.rollback_config`
    28  - `services.<SERVICE>.deploy.resources.reservations`
    29  - `services.<SERVICE>.deploy.placement`
    30  - `services.<SERVICE>.deploy.endpoint_mode`
    31  - `services.<SERVICE>.healthcheck`
    32  - `services.<SERVICE>.stop_grace_period`
    33  - `services.<SERVICE>.stop_signal`
    34  - `configs.<CONFIG>.external`
    35  - `secrets.<SECRET>.external`
    36  
    37  ### Incompatibility
    38  #### `services.<SERVICE>.build.context`
    39  - The value must be a local directory path, not a URL.
    40  
    41  #### `services.<SERVICE>.secrets`, `services.<SERVICE>.configs`
    42  - `uid`, `gid`: Cannot be specified. The default value is not propagated from `USER` instruction of Dockerfile.
    43    The file owner corresponds to the original file on the host.
    44  - `mode`: Cannot be specified. The file is mounted as read-only, with permission bits that correspond to the original file on the host.