|
|
|
|
|
by pxc
1891 days ago
|
|
Incidentally, there is a Snap for Docker, but it's older than the one in the new Ubuntu 20.04 beta: snap info docker | tail
snap-id: sLCsFAO8PKM5Z0fAKNszUOX0YASjQfeZ
channels:
latest/stable: 19.03.13 2021-02-12 (796) 137MB -vs. the Ubuntu one: apt info docker.io 2>/dev/null | head -2
Package: docker.io
Version: 20.10.2-0ubuntu2That's the same as the version in the latest nixpkgs unstable: nix search nixpkgs '^docker$' 15:41:11
* legacyPackages.x86_64-linux.docker (20.10.2)
An open source project to pack, ship and run any application as a lightweight containerAlso, afaict Nixpkgs doesn't expose any unit files for the Docker daemon, so it'd take a bit of monkeying around with a new package definition to expose the one from the Moby source so that you could use it on some random distro (or you could write your own). Nix doesn't currently have any system-wide module system for managing services on non-NixOS Linux, unfortunately. |
|
EDIT: And being new, there facilities aren't as mature, userbase smaller, so not enough work is put into packaging the latest versions. Since they also take on the goal of sandboxing the barrier for entry might be higher.