Skip to content

Commit 55eb571

Browse files
committed
update README
1 parent b3ed6be commit 55eb571

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,16 @@ docker buildx bake image-all
9494
Following platforms for this image are available:
9595

9696
```
97-
$ docker run --rm mplatform/mquery crazymax/rtorrent-rutorrent:latest
98-
Image: crazymax/rtorrent-rutorrent:latest
99-
* Manifest List: Yes
100-
* Supported platforms:
101-
- linux/amd64
102-
- linux/arm/v6
103-
- linux/arm/v7
104-
- linux/arm64
97+
$ docker buildx imagetools inspect crazymax/rtorrent-rutorrent --format "{{json .Manifest}}" | \
98+
jq -r '.manifests[] | select(.platform.os != null and .platform.os != "unknown") | .platform | "\(.os)/\(.architecture)\(if .variant then "/" + .variant else "" end)"'
99+
100+
linux/amd64
101+
linux/arm/v6
102+
linux/arm/v7
103+
linux/arm64
105104
```
106105

106+
107107
## Environment variables
108108

109109
### General

0 commit comments

Comments
 (0)