osism / documentation

OSISM documentation
https://docs.osism.tech
Creative Commons Attribution Share Alike 4.0 International
12 stars 16 forks source link

Change filter label for "Remove old Docker images" #436

Closed zachelnet closed 2 years ago

zachelnet commented 2 years ago

Old docker filter label "docker ps --filter=label=io.osism.openstack=queens" don't work.

I'll change this to "docker ps --filter=label=kolla_version=victoria"

berendt commented 2 years ago

@zach-b1 Please sign your commit (git commit --amend -s).

Please check if de.osism.release.openstack works. Probably only the io is wrong.

zachelnet commented 2 years ago

@zach-b1 Please sign your commit (git commit --amend -s).

Please check if de.osism.release.openstack works. Probably only the io is wrong.

Yes it's works:

$ docker image ls --filter=label=de.osism.release.openstack=victoria REPOSITORY TAG IMAGE ID CREATED SIZE quay.io/osism/elasticsearch-curator victoria 193cad6393d3 7 months ago 320MB

The images have the following labels: "Labels": { "build-date": "20220316", "de.osism.commit.docker_images_kolla": "2b21e9f", "de.osism.commit.kolla": "3819c16a9", "de.osism.commit.release": "09660e1", "de.osism.release.openstack": "victoria", "de.osism.version": "latest", "kolla_version": "victoria", "name": "elasticsearch-curator", "org.opencontainers.image.created": "2022-03-16T12:04:31.898667+00:00", "org.opencontainers.image.documentation": "https://docs.osism.tech", "org.opencontainers.image.licenses": "ASL 2.0", "org.opencontainers.image.source": "https://github.com/osism/container-images-kolla", "org.opencontainers.image.title": "elasticsearch-curator", "org.opencontainers.image.url": "https://www.osism.tech", "org.opencontainers.image.vendor": "OSISM GmbH", "org.opencontainers.image.version": "latest"