Skip to content

Kengo-Yamazaki/delete_docker-hub-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

delete-docker-hub-repo

Docker Hub のリポジトリを リポジトリ単位 または タグ単位 で削除するためのスクリプトです。
不要になったリポジトリや特定のタグを整理するのに使えます。

⚠️ 注意: 削除したリポジトリやタグは元に戻せません。利用時は十分にご注意ください。


使い方

1. クローン

git clone https://github.com/Kengo-Yamazaki/delete_docker-hub-repo.git 

2. ディレクトリに移動

cd delete_docker-hub-repo

3. 実行

./delete_docker-hub_repo.sh

依存ツール

1. curl : API呼び出し用

2. jq : JSONパース用(タグ一覧取得に利用)

Devian系の場合

sudo apt update
sudo apt install -y curl jq

Redhat系の場合

sudo dnf update
sudo dnf install -y curl jq

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages