Skip to content
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

[RFE] Show mirror registry as part of podman info command #4553

Closed
praveenkumar opened this issue Nov 22, 2019 · 5 comments
Closed

[RFE] Show mirror registry as part of podman info command #4553

praveenkumar opened this issue Nov 22, 2019 · 5 comments
Assignees
Labels
Good First Issue This issue would be a good issue for a first time contributor to undertake. kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@praveenkumar
Copy link
Contributor

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind feature

Description

Currently podman info doesn't show the mirror info if that exist in the /etc/containers/registry.conf file the same way it show for insecure registry.

Steps to reproduce the issue:

  1. Have the registry conf like following.
$ cat /etc/containers/registries
unqualified-search-registries = ["registry.access.redhat.com", "docker.io"]
[[registry]]
  location = "registry.access.redhat.com/ubi8/"
  insecure = false
  blocked = false
  mirror-by-digest-only = true
  prefix = ""
  [[registry.mirror]]
    location = "example.io/example/ubi8-minimal"
    insecure = false

Describe the results you received:

$ podman info
host:
  BuildahVersion: 1.9.0
  Conmon:
    package: podman-1.4.2-5.el8.x86_64
    path: /usr/libexec/podman/conmon
    version: 'conmon version 0.3.0, commit: unknown'
  Distribution:
    distribution: '"rhcos"'
    version: "4.2"
  MemFree: 232427520
  MemTotal: 10224070656
  OCIRuntime:
    package: runc-1.0.0-61.rc8.rhaos4.1.git3cbe540.el8.x86_64
    path: /usr/bin/runc
    version: 'runc version spec: 1.0.1-dev'
  SwapFree: 0
  SwapTotal: 0
  arch: amd64
  cpus: 4
  hostname: nested-phphp-master-0
  kernel: 4.18.0-80.11.2.el8_0.x86_64
  os: linux
  rootless: true
  uptime: 66h 12m 43.41s (Approximately 2.75 days)
registries:
  blocked: null
  insecure: null
  search:
  - registry.access.redhat.com
  - docker.io
store:
  ConfigFile: /home/core/.config/containers/storage.conf
  ContainerStore:
    number: 0
  GraphDriverName: vfs
  GraphOptions: null
  GraphRoot: /var/home/core/.local/share/containers/storage
  GraphStatus: {}
  ImageStore:
    number: 0
  RunRoot: /run/user/1000
  VolumePath: /var/home/core/.local/share/containers/storage/volumes

Describe the results you expected:

Should also contain the info about mirror registry.

@openshift-ci-robot openshift-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Nov 22, 2019
@haircommander haircommander added the Good First Issue This issue would be a good issue for a first time contributor to undertake. label Nov 22, 2019
@rhatdan
Copy link
Member

rhatdan commented Nov 22, 2019

@praveenkumar Care to try a PR?

@jvanz
Copy link
Contributor

jvanz commented Nov 30, 2019

I'll work on this

@rhatdan
Copy link
Member

rhatdan commented Dec 4, 2019

@jvanz any progress?

@jvanz
Copy link
Contributor

jvanz commented Dec 5, 2019

Not yet. I'll start to work on that now.

jvanz added a commit to jvanz/libpod that referenced this issue Dec 12, 2019
Updates the podman info command to show the mirror information

Issue containers#4553

Signed-off-by: José Guilherme Vanz <jvanz@jvanz.com>
jvanz added a commit to jvanz/libpod that referenced this issue Dec 12, 2019
Updates the podman info command to show the mirror information

Issue containers#4553

Signed-off-by: José Guilherme Vanz <jvanz@jvanz.com>
@jvanz
Copy link
Contributor

jvanz commented Dec 17, 2019

@rhatdan , we can close this one. I forgot to add the command to close the issue in the commit.

@rhatdan rhatdan closed this as completed Dec 17, 2019
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 23, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Good First Issue This issue would be a good issue for a first time contributor to undertake. kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

No branches or pull requests

5 participants