53 questions for “Docker & Containerization”

Found in 1 field. Select a question to see its full answer.

Information Technology

53 questions in 2 technologies

#QuestionTechnologyTopicLevel
1What is the difference between an image and a container in Docker terminology, applied to a .NET application? .NET › Docker & Containerization.NETDocker & ContainerizationBeginner
2What are the official .NET Docker base images, and what's the difference between the sdk, aspnet, and runtime image variants? .NET › Docker & Containerization.NETDocker & ContainerizationBeginner
3How does a multi-stage Dockerfile reduce the final image size for a .NET application, and what does each stage typically do? .NET › Docker & Containerization.NETDocker & ContainerizationIntermediate
4Why is it recommended to run a containerized .NET application as a non-root user, and how do you configure this in a Dockerfile? .NET › Docker & Containerization.NETDocker & ContainerizationIntermediate
5What is Docker Compose, and how does it simplify running a multi-container .NET application locally (e.g., API + database + Redis)? .NET › Docker & Containerization.NETDocker & ContainerizationIntermediate
6How does .dockerignore improve Docker build performance and image cleanliness for .NET projects? .NET › Docker & Containerization.NETDocker & ContainerizationIntermediate
7Why does copying only the .csproj file before the rest of the source code in a Dockerfile improve build caching? .NET › Docker & Containerization.NETDocker & ContainerizationAdvanced
8How would you optimize a Docker image build for a solution with multiple .NET projects sharing common dependencies, to maximize layer cache reuse? .NET › Docker & Containerization.NETDocker & ContainerizationAdvanced
9How do you configure a .NET container to respect memory and CPU limits set by the container orchestrator (like Kubernetes resource limits)? .NET › Docker & Containerization.NETDocker & ContainerizationIntermediate
10How do you pass environment-specific configuration into a running .NET container, and how does this interact with the configuration system? .NET › Docker & Containerization.NETDocker & ContainerizationIntermediate