Thứ Hai, 10 tháng 4, 2023

remove old tags from docker register

Find and delete tags - Keep 4 newest directory

find data/docker/registry/v2/repositories/*/_manifests/tags/ -maxdepth 3 -type f -printf '%T@\t%p\n'|sort -nr|tail -n+5|cut -f 2- -d " " | grep -v 'latest' | xargs -i rm {}

 Re-config repo

 docker exec <docker-name> registry garbage-collect /etc/docker/registry/config.yml --delete-untagged

Thứ Tư, 5 tháng 4, 2023

WSO2 APIM Port need to OPEN

 To                         Action      From
--                         ------      ----
22/tcp                     ALLOW       Anywhere
9443/tcp                   ALLOW       Anywhere
8280                       ALLOW       Anywhere
8243                       ALLOW       Anywhere
9611/tcp                   ALLOW       Anywhere
9711/tcp                   ALLOW       Anywhere
9099/tcp                   ALLOW       Anywhere
8000/tcp                   ALLOW       Anywhere