Skip to content

Deprecate "podman-env", in favor of using "docker-env" with cri-o #15461

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
afbjorklund opened this issue Dec 3, 2022 · 9 comments · May be fixed by #20260
Open

Deprecate "podman-env", in favor of using "docker-env" with cri-o #15461

afbjorklund opened this issue Dec 3, 2022 · 9 comments · May be fixed by #20260
Labels
co/runtime/crio CRIO related issues

Comments

@afbjorklund
Copy link
Collaborator

The podman socket has compatibility support for the Docker API, so prefer using docker as the client.

No major changes otherwise, just that the variable names are different and more workarounds are needed.

podman-env

export CONTAINER_HOST="ssh://docker@127.0.0.1:49162/run/podman/podman.sock"
export CONTAINER_SSHKEY="/home/anders/.minikube/machines/minikube/id_rsa"
export MINIKUBE_ACTIVE_PODMAN="minikube"

# To point your shell to minikube's podman service, run:
# eval $(minikube -p minikube podman-env)

docker-env

export DOCKER_HOST="ssh://docker@127.0.0.1:49162"
export MINIKUBE_ACTIVE_PODMAN="minikube"

# To point your shell to minikube's docker-daemon, run:
# eval $(minikube -p minikube docker-env)

The socket path and identity key now needs to be configured on the node and on the host, explicitly.

@afbjorklund afbjorklund added the co/runtime/crio CRIO related issues label Dec 3, 2022
@afbjorklund afbjorklund changed the title Deprecated "podman-env", in favor of using "docker-env" with cri-o Deprecate "podman-env", in favor of using "docker-env" with cri-o Dec 4, 2022
@afbjorklund
Copy link
Collaborator Author

afbjorklund commented Dec 4, 2022

For this to work, the $DOCKER_HOST must be set on the remote end:

DOCKER_HOST=unix:///run/podman/podman.sock
export DOCKER_HOST

And as mentioned above, known_hosts and ssh-agent needs updating.

minikube ssh-host --append-known
minikube docker-env --ssh-host --ssh-add

@afbjorklund
Copy link
Collaborator Author

afbjorklund commented Dec 11, 2022

Note that using minikube image works already today, without any clients (except minikube) or sockets

Technically it is rather similar to using minikube ssh, with some context helpers for "load" and "build"...

@k8s-triage-robot

This comment has been minimized.

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 11, 2023
@k8s-triage-robot

This comment has been minimized.

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Apr 10, 2023
@k8s-triage-robot

This comment has been minimized.

@k8s-ci-robot k8s-ci-robot closed this as not planned Won't fix, can't repro, duplicate, stale May 10, 2023
@k8s-ci-robot

This comment has been minimized.

@afbjorklund
Copy link
Collaborator Author

/reopen

@k8s-ci-robot k8s-ci-robot reopened this May 25, 2025
@k8s-ci-robot
Copy link
Contributor

@afbjorklund: Reopened this issue.

In response to this:

/reopen

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@afbjorklund
Copy link
Collaborator Author

/remove-lifecycle rotten

@k8s-ci-robot k8s-ci-robot removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label May 25, 2025
@afbjorklund afbjorklund linked a pull request May 25, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/runtime/crio CRIO related issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy