Skip to content

Commit 09717b7

Browse files
committed
update README
1 parent ab00dbd commit 09717b7

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
@@ -96,16 +96,15 @@ $ docker buildx bake image-all
9696
Following platforms for this image are available:
9797

9898
```
99-
$ docker run --rm mplatform/mquery librenms/librenms:latest
100-
Image: librenms/librenms:latest
101-
* Manifest List: Yes
102-
* Supported platforms:
103-
- linux/amd64
104-
- linux/arm/v7
105-
- linux/arm64
106-
- linux/386
107-
- linux/ppc64le
108-
- linux/s390x
99+
$ docker buildx imagetools inspect librenms/librenms --format "{{json .Manifest}}" | \
100+
jq -r '.manifests[] | select(.platform.os != null and .platform.os != "unknown") | .platform | "\(.os)/\(.architecture)\(if .variant then "/" + .variant else "" end)"'
101+
102+
linux/386
103+
linux/amd64
104+
linux/arm/v7
105+
linux/arm64
106+
linux/ppc64le
107+
linux/s390x
109108
```
110109

111110
## Environment variables

0 commit comments

Comments
 (0)