mirror of https://github.com/docker/compose.git
1.0 KiB
1.0 KiB
Architecture
This CLI has the following high level design goals:
- Provide a way for the Docker experience to be mapped to different container runtimes
- Provide a way to automatically generate high quality SDKs in popular languages
- Ensure that existing Docker CLI commands continue to work as before
These constraints resulted in the following architecture:
What follows is a list of useful links to help navigate the code:
- The CLI UX code is in
cli/
- The backend interface is defined in
backend/
- An example backend can be found in
example/
- An example backend can be found in
- The API is defined by protobufs that can be found in
protos/
- The API server is in
server/
- The context management and interface can be found in
context/
- The Node SDK is autogenerated (except for default endpoints managed by Docker Desktop), and can be found in
docker/node-sdk