Skip to content

exec: "getent": executable file not found in $PATH #582

@white-gecko

Description

@white-gecko

What happened:
I try to run dive from its image:
podman run -ti --rm -v /run/user/1000/podman/podman.sock:/var/run/docker.sock docker.io/wagoodman/dive quay.io/podman/hello
and get exec: "getent": executable file not found in $PATH

What you expected to happen:
dive to run

How to reproduce it (as minimally and precisely as possible):
Run:

podman run -ti --rm  -v /run/user/1000/podman/podman.sock:/var/run/docker.sock docker.io/wagoodman/dive quay.io/podman/hello

probably the same will happen with docker:

docker run -ti --rm  -v /var/run/docker.sock:/var/run/docker.sock docker.io/wagoodman/dive quay.io/podman/hello

you will see: exec: "getent": executable file not found in $PATH

Anything else we need to know?:

Environment:

  • OS version: Fedora 41
  • Docker version (if applicable):
$ podman version
Client:        Podman Engine
Version:       5.4.1
API Version:   5.4.1
Go Version:    go1.23.7
Git Commit:    b79bc8afe796cba51dd906270a7e1056ccdfcf9e
Built:         Tue Mar 11 01:00:00 2025
Build Origin:  Fedora Project
OS/Arch:       linux/amd64

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdistributiondeals with installing, packaging, or distribution

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions