Podman gives this error, when I try to start a container:
Error: unable to start container "422c0ebe5b05acb04913b19c3f3d25bbada7a1b0b5cd7f5f6a56
b724b74ca475": failed to mount shm tmpfs "/home/jak2k/.local/share/containers/storage/
overlay-containers/422c0ebe5b05acb04913b19c3f3d25bbada7a1b0b5cd7f5f6a56b724b74ca475/us
erdata/shm": invalid argument
My config for enabling is the following:
# Podman
virtualisation.containers.enable = true;
virtualisation = {
podman = {
enable = true;
# Create a `docker` alias for podman, to use it as a drop-in replacement
dockerCompat = true;
# Required for containers under podman-compose to be able to talk to each other.
defaultNetwork.settings.dns_enabled = true;
};
};
security.unprivilegedUsernsClone = config.virtualisation.containers.enable;
I’m using a flake with the unstable channel.