Skip to content

Running flyctl using podman requires setting the HOME variable #4096

Open
@CodeSandwich

Description

Describe the bug

Running this command:

podman run docker.io/flyio/flyctl -t "$FLY_API_TOKEN" auth whoami

Fails with:

Error accessing home directory $HOME is not defined
Error: $HOME is not defined

Running the same command with manually set HOME works fine:

podman run -e HOME=/ docker.io/flyio/flyctl -t "$FLY_API_TOKEN" auth whoami

It would be great if HOME didn't need to be manually set. Somehow in Docker it just works.

  • Operating system: Fedora 41 with podman 5.3.0
  • fly version: I tried container versions: v0.2.79, v0.2.93 and v0.3.44

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions