chore(docker): inspect all the things

This commit is contained in:
Michele Cereda
2024-11-30 01:29:32 +01:00
parent 380e5d5b64
commit 6689719d38

View File

@@ -17,5 +17,10 @@ docker login
docker login -u 'whatever' -p 'glpat-ABC012def345GhI678jKl' 'gitlab.example.org:5050'
aws ecr get-login-password | docker login --username 'AWS' --password-stdin '012345678901.dkr.ecr.eu-west-1.amazonaws.com'
# Send images to remote nodes with Docker.
# Send images to remote nodes with Docker
docker save 'local/image:latest' | ssh -C 'user@remote.host' docker load
# Inspect resources
docker inspect 'ghcr.io/jqlang/jq:latest' # image
docker inspect 'host' # network
docker inspect 'prometheus-1' # container