Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Adds and removes labels from docker images

License

NotificationsYou must be signed in to change notification settings

dokku/docker-image-labeler

Adds and removes labels from docker images

Requirements

  • golang 1.12+

Background

This package allows for adding and removing image labels without rebuilding images. Layer history creation time may change.

Installation

Debian packages are available viapackagecloud

For a prebuilt binaries, see thegithub releases page.

Building from source

A make target is provided for building the package from source.

make build

In addition, builds can be performed in an isolated Docker container:

make build-docker-image build-in-docker

Usage

# pull an imagedocker image pull mysql:8# add a label./docker-image-labeler relabel --label=mysql.version=8 mysql:8# remove the label./docker-image-labeler relabel --remove-label=mysql.version mysql:8

[8]ページ先頭

©2009-2025 Movatter.jp