Guance Learn

Observability questions

Focused answers for definitions, architecture choices, troubleshooting, pricing, and evaluation.

Illustration of server operations and troubleshooting
Explainer

Investigate a Docker permission denial by the failing path

Distinguish daemon access, stale service credentials, client configuration, container UID/GID mapping, and SELinux policy.

Illustration of server operations and troubleshooting
Explainer

Find a host address from inside a Docker container

Resolve a supported host name or inspect the network gateway without assuming every gateway is the physical host.

Illustration of server operations and troubleshooting
Explainer

Choose a shell or inspection method for a Docker container

Use exec for a running container, Compose exec for a service, and offline inspection when the container is stopped or has no shell.

Illustration of server operations and troubleshooting
Explainer

Wait for a dependency to become healthy in Docker Compose

Use health-based startup conditions, validate the probe itself, and keep application retries for failures after startup.

Illustration of container operations and troubleshooting
Explainer

Manage persistent data in Docker

Choose volumes or bind mounts, back up databases consistently, restore into a fresh volume, and review cleanup scope.

Illustration of container operations and troubleshooting
Explainer

Pass environment variables to Docker containers

Use run flags, environment files, or Compose settings while distinguishing interpolation, process scope, and secret handling.

Illustration of container operations and troubleshooting
Explainer

Connect Docker containers by name

Use a user-defined network for service discovery, then test the actual application protocol rather than relying on ping.

Illustration of container operations and troubleshooting
Explainer

Keep Docker data after a container stops or is removed

Understand writable layers, rescue files from stopped containers, and choose persistent mounts with tested backups.

Illustration of container operations and troubleshooting
Explainer

Push an image to a private Docker registry

Authenticate, tag the intended destination, push and verify the digest, and troubleshoot registry trust and authorization.

Illustration of container operations and troubleshooting
Explainer

Rebuild a service with Docker Compose

Choose build, up, restart, or force-recreate correctly, and verify the new image without discarding persistent data.

Illustration of container operations and troubleshooting
Explainer

Remove Docker images without confusing tags and data

Remove selected local references, investigate container conflicts, and distinguish image pruning from a complete environment reset.

Illustration of container operations and troubleshooting
Explainer

Restart one Docker Compose service

Restart selected service containers without applying new configuration, or recreate them deliberately when the image or settings change.