Skip to content

Troubleshooting

Tips for diagnosing issues with your local DCM deployment.

Viewing Container Logs

To view logs for a specific service:

podman-compose logs <service-name>

For example, to check the API gateway logs:

podman-compose logs gateway

Available service names: gateway, postgres, nats, opa, service-provider-manager, catalog-manager, policy-manager, placement-manager, kubevirt-service-provider.

Follow Logs in Real Time

Use the -f flag to stream logs as they are produced:

podman-compose logs -f gateway

Limit Log Output

To show only the last N lines:

podman-compose logs --tail 50 gateway

Checking Container Status

To see which containers are running and their current state:

podman-compose ps

Restarting a Service

If a service is unhealthy or not responding:

podman-compose restart <service-name>