Quiz: What is the functional difference between `EXPOSE 80` in a Dockerfile and `-p 8080:80` in `docker run`?
EXPOSE documents intended container ports; -p (port publishing) maps actual host network sockets to container ports.
Find tutorials, system documentation, dynamic pages, and interactive quizzes in one place.
EXPOSE documents intended container ports; -p (port publishing) maps actual host network sockets to container ports.
Exit code 137 occurs when container memory usage exceeds cgroup limits, causing kernel OOM killer termination.
EC2 Instance Profiles attach IAM Roles to instances, issuing short-lived credentials via metadata service.
Matrix builds allow testing code across combinations of runtime versions (e.g. Python 3.9, 3.10, 3.11 on Ubuntu and macOS).
Helm packages Kubernetes manifests into reusable version-controlled charts.
The Broker delivers task invocation payloads to worker queues; the Result Backend stores async return values, exceptions, and task states.
Multi-stage builds strip out compilers (gcc, build-essential, headers), producing tiny, secure production container images (e.g. python:3.12-slim ).