File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ Cheatsheets can be particularly helpful when learning a new tool or technology,
21
21
- 🧪 [ Image Transfer Commands] ( #image-transfer-commands )
22
22
- 🏗️ [ Builder Main Commands] ( #builder-main-commands )
23
23
- ⚙️ [ The Docker CLI] ( #the-docker-cli )
24
+ - 🧰 [ Docker Security] ( #docker-security )
24
25
- 🧑🤝🧑 [ Contributors] ( #contributors )
25
26
- 💬 [ Support and Community] ( #support-and-community )
26
27
- 👉 [ References] ( #references )
@@ -552,6 +553,55 @@ To kill all running containers
552
553
docker kill $(docekr ps -q )
553
554
```
554
555
556
+ ## Docker Security
557
+
558
+ ### Docker Scout
559
+
560
+ Command line tool for Docker Scout:
561
+
562
+ ```
563
+ docker scout
564
+ ```
565
+
566
+ Analyzes a software artifact for vulnerabilities
567
+
568
+ ```
569
+ docker scout cves [OPTIONS] IMAGE|DIRECTORY|ARCHIVE
570
+ ```
571
+
572
+ Display vulnerabilities from a docker save tarball
573
+
574
+ ```
575
+ docker save redis > redis.tar
576
+ ```
577
+
578
+ Display vulnerabilities from an OCI directory
579
+
580
+ ```
581
+ skopeo copy --override-os linux docker://alpine oci:redis
582
+ ```
583
+
584
+ Export vulnerabilities to a SARIF JSON file
585
+
586
+ ```
587
+ docker scout cves --format sarif --output redis.sarif.json redis
588
+ ```
589
+
590
+ Comparing two images
591
+
592
+ ```
593
+ docker scout compare --to redis:6.0 redis:6-bullseye
594
+ ```
595
+
596
+ Displaying the Quick Overview of an Image
597
+
598
+ ```
599
+ docker scout quickview redis:6.0
600
+ ```
601
+
602
+
603
+
604
+
555
605
556
606
## Contributors
557
607
You can’t perform that action at this time.
0 commit comments