Installing Podman and friends on NixOS
Contents
Note: There is an open pull request for a podman module that will make all of this easier.
First you install all the software the normal way:
|
|
But there is some additional configuration you need to do. You need to give the user you want to run podman on additional uids and gids so that they be used as virtual uids and gids in the containers:
|
|
Also you need to configure registries to pull from. I used home-manager for creating the needed files on a user level. You can also use your system configuration to set these system wide. In that case place the files in /etc/containers
.
|
|
That should be it. E-mail me if you have questions.
Author Ben Bals
LastMod 2019-11-26