
Use files outside the default Docker build context
Select a broader context or an explicit named context, and distinguish local paths from stages, images, Git sources and stdin builds.
Focused answers for definitions, architecture choices, troubleshooting, pricing, and evaluation.

Select a broader context or an explicit named context, and distinguish local paths from stages, images, Git sources and stdin builds.

Find running or stopped containers, inspect useful status fields, and select a deliberate scope before bulk operations.

Choose an explicit host path, distinguish runtime mounts from image copies, and diagnose permissions and file-sharing behavior.

Separate image defaults, container configuration, Compose interpolation, and process-local changes when a variable has an unexpected value.

Choose exec for a running service or run for a disposable command, and understand when attach controls the main process.

Detached mode changes terminal attachment; the main process, stop signals, and restart policy determine the container lifecycle.

Select disposable containers deliberately, understand prune age filters, and preserve data before scheduling cleanup.

Distinguish dangling images from unreferenced images, preserve rollback assets, and keep local cleanup separate from registry retention.

Create a container with the intended command, ports, mounts, and environment, then distinguish a new run from restarting an existing instance.

Keep ordinary values as data, build names in templates, or explicitly evaluate a trusted template string with tpl.

Compare application containers with virtual-machine workflows, accounting for providers, kernels, host platforms, and isolation requirements.

Choose an application deployment model based on failure domains, reconciliation, networking, and the operational capacity available.