Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce podman home-manager module #906

Open
kachick opened this issue Nov 2, 2024 · 0 comments
Open

Introduce podman home-manager module #906

kachick opened this issue Nov 2, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@kachick
Copy link
Owner

kachick commented Nov 2, 2024

dotfiles/README.md

Lines 97 to 117 in 0b86d5a

### Podman on Ubuntu
1. Install uidmap without Nix for use of podman even if the podman will be installed from nixpkgs
- "shadow" in nixpkg is not enough for podman - <https://github.com/NixOS/nixpkgs/issues/138423>
```bash
sudo apt-get install --assume-yes uidmap
```
1. Make sure putting /etc/containers/policy.json, it is not a home-manager role
```bash
sudo mkdir -p /etc/containers
cd /etc/containers
sudo curl -OL https://raw.githubusercontent.com/kachick/dotfiles/main/config/containers/policy.json
```
1. Make sure the cgroup v1 is disabled if you on WSL, See [the docs](windows/WSL/README.md)
1. Make sure you can run containers as `podman run public.ecr.aws/debian/debian:12.6-slim cat /etc/os-release`

nix-community/home-manager#4801 (comment) has been merged

This issue might be a following task of #757

@kachick kachick added the enhancement New feature or request label Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant