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

[bug] the image number in pouch info not equal to uniq count of pouch images #1347

Closed
lovejoy opened this issue May 17, 2018 · 4 comments
Closed
Assignees
Labels
kind/bug This is bug report for project

Comments

@lovejoy
Copy link

lovejoy commented May 17, 2018

Ⅰ. Issue Description

# pouch images
IMAGE ID       IMAGE NAME                                       SIZE
8ac48589692a   registry.hub.docker.com/library/busybox:latest   710.83 KB
# pouch info  | grep Images
Images:  0

Ⅱ. Describe what happened

Ⅲ. Describe what you expected to happen

pouch info | grep Images should be 1

Ⅳ. How to reproduce it (as minimally and precisely as possible)

1.install freshly on centos https://github.com/alibaba/pouch/blob/master/INSTALLATION.md
2.pouch pull busybox
3.pouch images

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • pouch version (use pouch version):
    Os: linux
    Version: 0.4.0
    APIVersion: 1.24
    Arch: amd64
    BuildTime: Wed, 18 Apr 2018 11:16:54 +0800
    GitCommit: 5caea36
    GoVersion: go1.9.1
    KernelVersion: 3.10.0-514.el7.x86_64
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
@pouchrobot pouchrobot added the kind/bug This is bug report for project label May 17, 2018
@lovejoy lovejoy changed the title bug report the image number in pouch info not equal to uniq count of pouch images [bug] the image number in pouch info not equal to uniq count of pouch images May 17, 2018
@ZouRui89
Copy link
Contributor

ZouRui89 commented May 17, 2018

I have tried the same procedures as you have mentioned above.

And the result goes like this:

[root@instance-1 zouruicloud]# pouch images
IMAGE ID       IMAGE NAME                         SIZE
8ac48589692a   docker.io/library/busybox:latest   710.83 KB
[root@instance-1 zouruicloud]# pouch info | grep Images
Images:  1

Would you be more specific about how the situation you mentioned happened? Like how you installed pouch, end-user way or developer way, or has the image been successfully pulled, and any thing else related?

Beside, thx for your report. We are very happy to have you in our community. :)

@allencloud
Copy link
Collaborator

I would like to involve @fuweid as he is an image expert of Pouch.

@lovejoy
Copy link
Author

lovejoy commented May 18, 2018

Reproduce
on a newly created CentOS Linux release 7.3.1611 (Core) vmMachine

yum install -y yum-utils
yum-config-manager --add-repo http://mirrors.aliyun.com/opsx/opsx-centos7.repo
yum install -y  pouch
systemctl start pouch
pouch pull busybox
pouch images -> have busybox
pouch info | grep Images -> 0

蛤?

@fuweid
Copy link
Contributor

fuweid commented May 18, 2018

Hi @lovejoy , sorry that we missing the gitCommit info as you provided.

The Pouchv0.4 version you using doesn't support to show the image information. In the this PR #1238 , we have supported this field. Please wait for the next version or use the master version to build the pouch.

BTW, we still have some empty fields and welcome to help us make pouch better. Please let us know if you have any issues during using pouch. Thanks 😄

@lovejoy lovejoy closed this as completed May 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This is bug report for project
Projects
None yet
Development

No branches or pull requests

5 participants