Closed 403gseol closed 3 years ago
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
bug
Description
podman completion [bash | zsh | fish]
as described here returns unrecognized command.
Steps to reproduce the issue: Execute on the terminal
podman completion zsh
Describe the results you received: Error: unrecognized command podman completion Try 'podman --help' for more information.
podman completion
Describe the results you expected: Generation of a completion file
Additional information you deem important (e.g. issue happens only occasionally):
Output of podman version: 2.0.6
podman version
Output of podman info --debug:
podman info --debug
host: arch: amd64 buildahVersion: 1.15.2 cgroupVersion: v1 conmon: package: 'conmon: /usr/libexec/podman/conmon' path: /usr/libexec/podman/conmon version: 'conmon version 2.0.20, commit: unknown' cpus: 8 distribution: distribution: ubuntu version: "20.10" eventLogger: file hostname: lab04 idMappings: gidmap: - container_id: 0 host_id: 1000 size: 1 - container_id: 1 host_id: 100000 size: 65536 uidmap: - container_id: 0 host_id: 1000 size: 1 - container_id: 1 host_id: 100000 size: 65536 kernel: 5.8.0-43-generic linkmode: dynamic memFree: 30319529984 memTotal: 33288392704 ociRuntime: name: runc package: 'runc: /usr/sbin/runc' path: /usr/sbin/runc version: 'runc version spec: 1.0.1-dev' os: linux remoteSocket: exists: true path: /run/user/1000/podman/podman.sock rootless: true slirp4netns: executable: /usr/bin/slirp4netns package: 'slirp4netns: /usr/bin/slirp4netns' version: |- slirp4netns version 1.0.1 commit: 6a7b16babc95b6a3056b33fb45b74a6f62262dd4 libslirp: 4.3.1 swapFree: 1027600384 swapTotal: 1027600384 uptime: 14m 16.3s registries: search: - quay.io - docker.io store: configFile: /home/<username>/.config/containers/storage.conf containerStore: number: 0 paused: 0 running: 0 stopped: 0 graphDriverName: overlay graphOptions: overlay.mount_program: Executable: /usr/bin/fuse-overlayfs Package: 'fuse-overlayfs: /usr/bin/fuse-overlayfs' Version: |- fusermount3 version: 3.9.3 fuse-overlayfs: version 1.0.0 FUSE library version 3.9.3 using FUSE kernel interface version 7.31 graphRoot: /home/<username>/.local/share/containers/storage graphStatus: Backing Filesystem: extfs Native Overlay Diff: "false" Supports d_type: "true" Using metacopy: "false" imageStore: number: 18 runRoot: /run/user/1000/containers volumePath: /home/<username>/.local/share/containers/storage/volumes version: APIVersion: 1 Built: 0 BuiltTime: Thu Jan 1 01:00:00 1970 GitCommit: "" GoVersion: go1.14.7 OsArch: linux/amd64 Version: 2.0.6
Package info (e.g. output of rpm -q podman or apt list podman):
rpm -q podman
apt list podman
podman/groovy,now 2.0.6+dfsg1-1ubuntu1 amd64 [installed]
This is only supported since v2.2
@403gseol You can use this script for 2.0.x https://github.com/containers/podman/blob/v2.0/completions/zsh/_podman
Thanks for the quick support!!
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
bug
Description
as described here returns unrecognized command.
Steps to reproduce the issue: Execute on the terminal
Describe the results you received: Error: unrecognized command
podman completion
Try 'podman --help' for more information.Describe the results you expected: Generation of a completion file
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
: 2.0.6Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):podman/groovy,now 2.0.6+dfsg1-1ubuntu1 amd64 [installed]