# [[Docker cheatsheet]] _Created: 2025-09-17_ | #docker | [[010 System Administration MOC|System Administration]] ## List tags available for a remote image If I know 0.15 is the latest version for an image, I can find the exact tag by: ```shell-session $ curl -s "https://gke.gcr.io/v2/prometheus-engine/frontend/tags/list" | jq -r .tags[] |grep 0.15 v0.15.0-gke.12 v0.15.1-gke.0 v0.15.3-gke.0 v0.15.4-gke.0 ``` ## View manifest of remote image Without pulling an image I can find details, like the architectures supported. ```json $ docker manifest inspect gke.gcr.io/prometheus-engine/frontend:v0.15.4-gke.0 { "schemaVersion": 2, "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json", "manifests": [ { "mediaType": "application/vnd.docker.distribution.manifest.v2+json", "size": 3863, "digest": "sha256:d56db66cc8c2c7fd6dc16bff8ae7f5a4faf6080cf95522c2502966c950ff5b5f", "platform": { "architecture": "amd64", "os": "linux" } }, { "mediaType": "application/vnd.docker.distribution.manifest.v2+json", "size": 3862, "digest": "sha256:04586b735f1278eb3e271435bc65d1b3a25baae4cd74466ddaa86ed9ce009796", "platform": { "architecture": "arm64", "os": "linux" } } ] } ``` ## Using a remote docker instance Useful when you are on a Mac, and want to use a remote Linux host for docker builds. ```shell-session $ docker context create ubunturemote --docker "host=ssh://[email protected]" ubunturemote Successfully created context "ubunturemote" $ docker context list NAME DESCRIPTION DOCKER ENDPOINT ERROR default * Current DOCKER_HOST based configuration unix:///var/run/docker.sock ubunturemote ssh://[email protected] $ docker --context ubunturemote ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 51fe1fc6bd49 docker.n8n.io/n8nio/n8n:latest "tini -- /docker-ent…" 2 days ago Up 5 minutes 0.0.0.0:5678->5678/tcp, [::]:5678->5678/tcp n8n-n8n-1 ```