Skip to content

podman-env support needs to update or deprecate #21052

@elasticdotventures

Description

@elasticdotventures

What Happened?

Minikube continues to embed podman 3.4.4, my system is podman 4.9.2 (ships standard with ubuntu noble 24.04) & my machine-default-image is podman 5.9.2

I can't reopen #15036 but here we are 3 years later. No progress. Same issue.

The discussion in issue/15036 speaks of a future to come re podman-env, and some other nonsense that failed to materialize. Minikube podman-env is effectively incompatible with all modern LTS versions of podman.

I want to understand why, I think minikube should at least output an explicit warning saying "hey, podman-env is irreprarably broked and will never be fixed, and we'll remove it someday" if that's true, if it's just docker forever,
OR I want to at least (for now) link an issue .. maybe this one to the warning & workarounds so somebody else doesn't speak the ~6 hours I did going through upgrades, and ultimately being told "why don't you just use actual docker derp derp". What a waste of time, the docker mafia strikes again.

Yes, I can work around this with a local insecure registry or several other ways.

The specific error to reproduce:

minikube start --driver=podman --container-runtime=cri-o --kubernetes-version=v1.33.1

eval $(minikube -p minikube podman-env)

podman build -t middleware:latest -f ./middleware/Dockerfile ./middleware

Cannot connect to Podman. Please verify your connection to the Linux system using `podman system connection list`, or try `podman machine init` and `podman machine start` to manage a new Linux VM
Error: unable to connect to Podman socket: server API version is too old. Client "4.0.0" server "3.4.4": ssh://[email protected]:44503/run/podman/podman.sock

Attach the log file

 lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.2 LTS
Release:        24.04
Codename:       noble

Operating System

Ubuntu

Driver

QEMU

Metadata

Metadata

Assignees

No one assigned

    Labels

    co/runtime/crioCRIO related issuespriority/awaiting-more-evidenceLowest priority. Possibly useful, but not yet enough support to actually get it done.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions