Guance Learn

Observability questions

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

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.

Illustration of container operations and troubleshooting
Explainer

Execute a command in a running Docker container

Use docker exec with the right user, environment, working directory and terminal settings, and understand its lifecycle limits.

Illustration of container operations and troubleshooting
Explainer

Run scheduled jobs with cron in a Docker container

Build a foreground cron service, use the correct cron file format, and pass selected environment values safely.

Illustration of container operations and troubleshooting
Explainer

Build a dedicated cron container

Use a complete Debian cron example with foreground scheduling, valid system-crontab syntax and observable job output.

Illustration of server operations and log analysis
Explainer

Keep Nginx running in a Docker container

Run the Nginx master in the foreground, test the mounted configuration in the same image, and investigate exits before adding a restart policy.

Illustration of container operations and troubleshooting
Explainer

Can a Dockerfile set the output image name?

Name image outputs with build tags, Compose configuration or a build tool, and distinguish names from stages and labels.

Illustration of container operations and troubleshooting
Explainer

Start Docker containers automatically after a reboot

Choose a restart policy, ensure the daemon starts, and distinguish process restarts from dependency readiness and live restore.

Illustration of container operations and troubleshooting
Explainer

Set PATH in a Dockerfile

Use ENV for a persistent search path, understand RUN scope and runtime overrides, and avoid confusing executable lookup with package imports.

Illustration of container operations and troubleshooting
Explainer

Upgrade a running container to a new image

Replace the container with a reviewed image while preserving configuration, validating data compatibility, and preparing a realistic rollback.

Illustration of container operations and troubleshooting
Explainer

Use local container images in Minikube

Load or build images for the correct Minikube runtime and nodes, then match the workload image reference and pull policy.