docs/compose.md
| :zap: Requirement | nerdctl >= 0.8 |
|---|
The nerdctl compose CLI is designed to be compatible with docker-compose.
$ nerdctl compose up -d
$ nerdctl compose down
See the Command Reference in ../README.md.
nerdctl compose implements The Compose Specification,
which was derived from Docker Compose file version 3 specification.
docker run flags, e.g., services.<SERVICE>.links (corresponds to docker run --link)docker build flags, e.g., services.<SERVICE>.build.extra_hosts (corresponds to docker build --add-host)services.<SERVICE>.credential_specservices.<SERVICE>.deploy.update_configservices.<SERVICE>.deploy.rollback_configservices.<SERVICE>.deploy.resources.reservationsservices.<SERVICE>.deploy.placementservices.<SERVICE>.deploy.endpoint_modeservices.<SERVICE>.healthcheckservices.<SERVICE>.stop_grace_periodservices.<SERVICE>.stop_signalconfigs.<CONFIG>.externalsecrets.<SECRET>.externalservices.<SERVICE>.build.contextservices.<SERVICE>.secrets, services.<SERVICE>.configsuid, gid: Cannot be specified. The default value is not propagated from USER instruction of Dockerfile.
The file owner corresponds to the original file on the host.mode: Cannot be specified. The file is mounted as read-only, with permission bits that correspond to the original file on the host.