Skip to content

how does one run from container successfully? #149

@eddyizm

Description

@eddyizm

Running on a arm64 linux system, the container pulls and runs successfully, however, trying to generate a quadlet from the a running pod and it is resulting in the error.
I was wondering how it would access the pod info from the host from within the container so I am not
surprised to get this error, reading through the docs, did i miss something?

command ->

podman run -it --rm --userns keep-id -e HOME -e XDG_CONFIG_HOME --user $(id -u)    -v "$PWD":"$PWD" -v "$HOME/.config/containers/systemd/":"$HOME/.config/containers/systemd/"    -w "$PWD" --security-opt label=disable    --pull=newer ghcr.io/containers/podlet   generate pod quote_pod
Error:
   0: error creating Quadlet file(s) from an existing object
   1: error inspecting pod `quote_pod`
   2: error running `podman pod inspect quote_pod`
   3: No such file or directory (os error 2)

Location:
   src/cli/generate.rs:726

PATH:
   /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Note: ensure Podman is installed and available on $PATH

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions