Change 'docker-compose' to 'docker compose'
Some checks failed
Update allows list / update-allows-list (push) Has been cancelled

Updated README to reflect the use of 'docker compose' instead of 'docker-compose'.
This commit is contained in:
Shiming Zhang 2025-12-23 18:43:44 +08:00 committed by GitHub
parent 0ebd2b5457
commit 3bdfb7ee93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,7 +28,6 @@ services:
configs: configs:
- source: registry-config - source: registry-config
target: /etc/docker/registry/config.yml target: /etc/docker/registry/config.yml
configs: configs:
registry-config: registry-config:
content: | content: |
@ -49,7 +48,7 @@ volumes:
4. **启动服务** 4. **启动服务**
```bash ```bash
docker-compose up -d docker compose up -d
``` ```
5. **配置 Docker 客户端** 5. **配置 Docker 客户端**