Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 896 Bytes

note.md

File metadata and controls

33 lines (17 loc) · 896 Bytes

build

docker build --tag backend:v1 -f ./deployments/Dockerfile .

run docker

docker run --name backend -d -p 30000:8080 backend:v1 run -s 1

get list of images in local registry

curl -X GET "http://localhost:5001/v2/\_catalog"

get tags of an image

curl -X GET "http://localhost:5001/v2//tags/list"

sha256:6bde8e70a73153b22430ef2f547f3eb651491dcde52ba7d10fc9258ee5c00aed

delete image from local registry

list all images in the repository

curl -X GET "http://localhost:5001/v2//tags/list

find image's digest

curl -sS -H "Accept: application/vnd.docker.distribution.manifest.v2+json" -o /dev/null -w "%header{Docker-Content-Digest}" http://localhost:5001/v2//manifests/latest

delete images's manifest

curl -X DELETE "http://localhost:5001/v2//manifests/"

k label nodes kind-control-plane name=node1