# Init Containers

> What is an init container in Kubernetes, how does it differ from a regular container, and when would you use one?

Canonical: https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-init-containers
Last updated: 2026-11-28

Difficulty: Intermediate

## Question

What is an init container in Kubernetes, how does it differ from a regular container, and when would you use one?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

Init Containers, Pod Lifecycle, Native Sidecars, restartPolicy, Shared Volumes

Previous: [Service Discovery](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-service-discovery) · Next: [Soft vs. Hard Affinity](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-affinity-soft-hard) · [All of Kubernetes & Orchestration](https://www.internhack.in/learn/interview/kubernetes-orchestration)

## More Kubernetes & Orchestration questions

- [Metrics Server](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-metric-server-role)
- [Checking Resource Usage](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-kubectl-top)
- [Pod Eviction](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-pod-eviction)
- [PVC Access Modes](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-pvc-access-modes)
- [Secret Security](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-secret-security)
- [PodPresets (Legacy)](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-pod-preset)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Kubernetes & Orchestration](https://www.internhack.in/learn/interview/kubernetes-orchestration)
