Guance Learn

Observability questions

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

Illustration of server operations and troubleshooting
Explainer

Attach to a Docker process and detach safely

Understand stream attachment, interactive detach keys, signal forwarding, and when logs or exec are the better fit.

Illustration of server operations and troubleshooting
Explainer

Rename Docker image references and containers

Add an image tag without copying layers, remove the old reference deliberately, and rename containers without confusing deployment identity.

Illustration of server operations and troubleshooting
Explainer

Troubleshoot container connections to host services

Compare host.docker.internal, Linux bridge addresses, and host networking, then test resolution, listeners, routing, and protocol.

Illustration of server operations and troubleshooting
Explainer

Connect to PostgreSQL running in Docker

Publish a deliberate host endpoint, initialize credentials correctly, and distinguish network reachability from PostgreSQL authentication.

Illustration of server operations and troubleshooting
Explainer

Debug a failed Docker build

Read the first meaningful failure, inspect build inputs, and create a named debug stage instead of treating BuildKit cache IDs as runnable images.

Illustration of server operations and troubleshooting
Explainer

Detach from Docker without stopping the container

Use the detach sequence in a compatible interactive session and understand how logs, exec, and restart policies differ.

Illustration of server operations and troubleshooting
Explainer

Open a new terminal in a running container

Start an exec shell with the intended user and working directory, or inspect a minimal image without assuming it has shell tools.

Illustration of server operations and troubleshooting
Explainer

Run multiple startup commands with Docker Compose

Invoke a shell explicitly, preserve exit status and signals, and move complex initialization into a testable script.

Illustration of server operations and troubleshooting
Explainer

Publish multiple ports from a Docker container

Use repeated port mappings, select host interfaces and protocols, and verify each listener through its real client path.

Illustration of server operations and troubleshooting
Explainer

Can Docker publish another port on a running container?

Separate port inspection from publication and choose recreation or an external forwarding layer without editing daemon metadata.

Illustration of server operations and troubleshooting
Explainer

Fix “Cannot connect to the Docker daemon”

Check the selected endpoint, daemon availability, and permissions in that order, with separate paths for Linux, Desktop, WSL, and remote engines.

Illustration of server operations and troubleshooting
Explainer

Trace a Docker client-to-daemon connection failure

Follow the selected context through its socket or transport to the daemon logs instead of resetting settings or reinstalling blindly.