Project

Profile

Help

Issue #3983

closed

Still seeing lots of docker images when specifying --tags

Added by jmontleo@redhat.com about 6 years ago. Updated over 5 years ago.

Status:
CLOSED - NOTABUG
Priority:
Normal
Assignee:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Docker:
Platform Release:
Target Release - Docker:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

First of all, thank you for the --tags option. I already see significantly less disk usage.

I am not sure if what I am seeing here is a bug, a limitation, or output I am misunderstanding, but:

Before it was possible to set tags I had a repo that looked like so:
Before tags were set:
Id: cri-o
Display Name: None
Description: None
Content Unit Counts:
Docker Blob: 560
Docker Image: 365
Docker Manifest: 2020
Docker Manifest List: 173
Docker Tag: 2132

After setting tags all unit counts decreased except the Images:

Id: cri-o
Display Name: None
Description: None
Content Unit Counts:
Docker Blob: 16
Docker Image: 365
Docker Manifest: 10
Docker Manifest List: 5
Docker Tag: 10

The output with details looks like so, with an extremely long list of Image Id's for tags I did not specify:

pulp-admin repo list --repo-id cri-o --details
--------------------------------------------------------------------
Repositories
--------------------------------------------------------------------

Id: cri-o
Display Name: None
Description: None
Content Unit Counts:
Docker Blob: 16
Docker Image: 365
Docker Manifest: 10
Docker Manifest List: 5
Docker Tag: 10
Notes:
Scratchpad:
Tags:
Image Id: 947113c11ff6665c144efa7905d4390df9d23c104473630a2a1eb2140f67dd38
Tag: v3.9.0.20180225.223947
Image Id: 7c2737052810cbcace14693d2eae6ca5a0b980e8538c533f7c373bc94d6dd54f
Tag: v3.11.0
Image Id: 64aefd5d39a93ef7c84429239cabf31b4a8ed39460c10e3c8d1e0309775d489f
Tag: rhaos-3.8-rhel-7-docker-candidate-10731-20180107142740
Image Id: dbe7ef4db0a18079bc5286a950523ff34a7c36d464b6d671d9d2324eed0d0bbe
Tag: rhaos-3.10-rhel-7-ppc64le-containers-candidate-35156-2018072302173
8
Image Id: f338ce0b7003128737218ef7c89d7ca32f248a78218a50937585b4359c11dc0e
Tag: v3.10.14.20180720.120005
...
Importers:
Config:
Enable V1: True
Enable V2: True
Feed: http://brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888
SSL Validation: False
Tags: v3.7, v3.9, v3.10, v3.11, latest
Upstream Name: openshift3/cri-o
Id: docker_importer
Importer Type Id: docker_importer
Last Override Config:
Last Sync: 2018-09-06T17:22:46Z
Last Updated: 2018-09-06T17:21:36Z
Repo Id: cri-o
Scratchpad: None
Distributors:
Auto Publish: True
Config:
Redirect-url: http://asb-registry.usersys.redhat.com/pulp/docker/v2/cri-
o
Repo-registry-id: openshift3/cri-o
Distributor Type Id: docker_distributor_web
Id: docker_web_distributor_name_cli
Last Override Config:
Last Publish: 2018-09-06T17:45:53Z
Last Updated: 2018-09-06T17:21:36Z
Repo Id: cri-o
Scratchpad:
Auto Publish: False
Config:
Redirect-url: http://asb-registry.usersys.redhat.com/pulp/docker/v2/cri-
o
Repo-registry-id: openshift3/cri-o
Distributor Type Id: docker_distributor_export
Id: docker_export_distributor_name_cli
Last Override Config:
Last Publish: None
Last Updated: 2018-09-06T17:21:36Z
Repo Id: cri-o
Scratchpad:

Also available in: Atom PDF