# Replit — Will Nix Overtake Docker?

- Company: Replit (replit.com)
- Announced: 2021-11-29T20:00:00+00:00
- Category: not stated
- Coverage: not counted
- Announcement: yes
- Group: announcements
- Source: https://replit.com/blog/nix-vs-docker
- Record: https://forck.live/items/18058-will-nix-overtake-docker
- Subject: Replit Agent

In many discussions about Nix , the comparison of Nix and Docker comes up frequently . This question could be dismissed by saying that Nix and Docker are different tools that solve different problems. One is a toolkit for building and deploying containers and the other is a package and configuration manager. However, these tools do have some overlap: they can both be used to create reproducible environments. A reproducible environment is one that can be recreated from scratch in an identical way (ideally bit-for-bit). Practically, this means having the same tools, versions, and configuration between the environments. Reproducible environments are useful to ensure all developers on a project have the exact same set of tools. Additionally, you can develop in an environment that is similar to the production environment -- leading to less surprises when deploying. Both tools can solve the age-old problem of "it works on my machine". While both tools aim to solve this problem, they take different approaches. Reproducible Environment with Docker Docker provides tools for creating container images. An image stores the contents and configuration for a container. …

---

Record: https://forck.live/items/18058-will-nix-overtake-docker
Catalogue: https://forck.live/llms.txt
Current issue: https://forck.live/feed.md
