Quiz: What is the purpose of Django `collectstatic` management command?
collectstatic aggregates static assets (CSS, JS, images) into `STATIC_ROOT` for production web servers (e.g. Nginx) to serve.
Find tutorials, system documentation, dynamic pages, and interactive quizzes in one place.
collectstatic aggregates static assets (CSS, JS, images) into `STATIC_ROOT` for production web servers (e.g. Nginx) to serve.
A Docker Image is a immutable layered snapshot; a Container is an active runtime instance executing that image.
… executable, while CMD provides default arguments that can easily be overridden.
The -d (detached) flag runs compose containers in background execution mode.
docker logs -f streams live standard output and standard error logs from the target container.
The --privileged flag gives the container near-total access to host kernel capabilities, posing severe security risks.
docker system prune frees disk space by removing unused container data resources.
… on dictates container launch order, ensuring database containers start before dependent API containers.