Skip to content

Commit 5bf1e3e

Browse files
authored
Merge pull request #1411 from snyk/feat/add-platform-details-to-help
feat: Add platform details to help for snyk container
2 parents 7388695 + 565df40 commit 5bf1e3e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

help/container.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ Options:
1616
--file=<string> ......................... Include the path to the image's Dockerfile for more detailed advice.
1717
-h, --help
1818
--json
19+
--platform=<string> ..................... For multi-architecture images, specify the platform to test. Options are:
20+
[linux/amd64, linux/arm64, linux/riscv64, linux/ppc64le, linux/s390x,
21+
linux/386, linux/arm/v7 orlinux/arm/v6]
1922
--print-deps ............................ Print the dependency tree before sending it for analysis.
2023
--project-name=<string> ................. Specify a custom Snyk project name.
2124
--policy-path=<path> .................... Manually pass a path to a snyk policy file.
@@ -24,6 +27,7 @@ Options:
2427
Examples:
2528

2629
$ snyk container test alpine
30+
$ snyk container test --platform=linux/arm64 debian
2731
$ snyk container monitor alpine
2832
$ snyk container test docker-archive:archive.tar
2933
$ snyk container test oci-archive:archive.tar

0 commit comments

Comments
 (0)