Skip to content

Commit 4dcff45

Browse files
committed
update README
1 parent b87bc07 commit 4dcff45

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,15 @@ docker buildx bake image-all
6565
Following platforms for this image are available:
6666

6767
```
68-
$ docker run --rm mplatform/mquery crazymax/dokuwiki:latest
69-
Image: crazymax/dokuwiki:latest
70-
* Manifest List: Yes
71-
* Supported platforms:
72-
- linux/amd64
73-
- linux/arm/v6
74-
- linux/arm/v7
75-
- linux/arm64
76-
- linux/ppc64le
77-
- linux/s390x
68+
$ docker buildx imagetools inspect crazymax/dokuwiki --format "{{json .Manifest}}" | \
69+
jq -r '.manifests[] | select(.platform.os != null and .platform.os != "unknown") | .platform | "\(.os)/\(.architecture)\(if .variant then "/" + .variant else "" end)"'
70+
71+
linux/amd64
72+
linux/arm/v6
73+
linux/arm/v7
74+
linux/arm64
75+
linux/ppc64le
76+
linux/s390x
7877
```
7978

8079
## Environment variables

0 commit comments

Comments
 (0)