podman -c ConnectionName doesn't imply --remote #13242
Labels
Good First Issue
This issue would be a good issue for a first time contributor to undertake.
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
podman -c ConnectionName
doesn't imply flag--remote
while I would expect it. It's a bit confusing that if you forgot the--remote
flag, then arguments like-c ConnectionName
or--url URL
are totally ignored. Note that the more or less equivalent "docker context" command (docker -c ContextName
) works without any additional flags.Steps to reproduce the issue:
/run/user/1002/podman/podman.sock
.All these commands are run in a podman in podman scenarios, using
quay.io/podman/upstream
to check for latest podman version.Describe the results you received:
I would expect the command
podman -c aarch64 info|grep sock
to return the aarch64 socket.Describe the results you expected:
It returns the local x86_64 socket instead.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:The text was updated successfully, but these errors were encountered: