Updated docker compose command
Some checks are pending
CI/CD Pipeline / Test Backend (push) Waiting to run
CI/CD Pipeline / Test Frontend (push) Waiting to run
CI/CD Pipeline / Build and Push Docker Images (push) Blocked by required conditions
CI/CD Pipeline / Deploy to Production (push) Blocked by required conditions

This commit is contained in:
continuist 2025-06-28 14:12:09 -04:00
parent 9b53f96ae2
commit bb940ce6f0

View file

@ -564,7 +564,7 @@ sudo apt install -y apache2-utils
sudo su - SERVICE_USER
cd /opt/registry
docker-compose up -d
docker compose up -d
# Exit SERVICE_USER shell
exit
@ -578,7 +578,7 @@ sudo su - SERVICE_USER
# Check if containers are running
cd /opt/registry
docker-compose ps
docker compose ps
# Test registry API
curl http://localhost:5000/v2/_catalog
@ -620,10 +620,10 @@ exit
- Push/pull test should complete successfully
**If something goes wrong**:
- Check container logs: `docker-compose logs`
- Check container logs: `docker compose logs`
- Verify ports are open: `netstat -tlnp | grep :5000`
- Check Docker daemon config: `cat /etc/docker/daemon.json`
- Restart registry: `docker-compose restart`
- Restart registry: `docker compose restart`
### Step 5: Configure Docker for Registry Access
@ -897,7 +897,7 @@ docker network ls
**If something goes wrong**:
- Check script permissions: `ls -la scripts/cleanup.sh`
- Verify Docker access: `docker ps`
- Check registry access: `cd /opt/registry && docker-compose ps`
- Check registry access: `cd /opt/registry && docker compose ps`
- Run manually: `bash -x scripts/cleanup.sh`
#### 8.4 Set Up Automated Cleanup
@ -945,14 +945,14 @@ sudo ufw allow 8080/tcp # Registry UI (public read access)
```bash
docker --version
docker-compose --version
docker compose --version
```
#### 10.2 Check Registry Status
```bash
cd /opt/registry
docker-compose ps
docker compose ps
```
#### 10.3 Test Registry Access