Skip to content

This plugin provides dependency metadata for Docker images

License

Notifications You must be signed in to change notification settings

snyk/snyk-docker-plugin

Folders and files

NameName
Last commit message
Last commit date
Nov 21, 2024
Mar 13, 2024
Feb 5, 2024
Feb 10, 2025
Aug 23, 2021
Feb 10, 2025
Jun 22, 2022
Aug 31, 2023
Dec 23, 2024
May 23, 2019
Sep 20, 2021
Jun 26, 2023
May 23, 2019
Nov 20, 2024
Aug 5, 2018
Mar 1, 2018
Oct 18, 2021
Jul 9, 2020
Feb 21, 2025
Oct 22, 2023
Dec 10, 2024
Dec 10, 2024
Nov 13, 2024
Feb 26, 2024

Repository files navigation

Snyk logo


Snyk helps you find, fix and monitor for known vulnerabilities in your dependencies, both on an ad hoc basis and as part of your CI (Build) system.

ℹ️ This repository is only a plugin to be used with the Snyk CLI tool. To use this plugin to test and fix vulnerabilities in your project, install the Snyk CLI tool first. Head over to snyk.io to get started.

Snyk Docker CLI Plugin

This plugin provides dependency metadata for Docker images.

Supported functionality

Package managers:

  • rpm, apk, deb

Operating systems:

  • Debian, Red Hat, Alpine, Oracle, CentOS, SLES, OpenSUSE, Amazon Linux, vanilla Linux
  • Distroless and scratch images

Platforms:

  • Linux: ARM, AMD, PPC, MIPS, s390x

Image protocols:

  • Docker archive, OCI archive
  • pulling images from a Docker socket
  • pulling from container registries (with support for username and password authentication)

Applications:

  • Node (npm, yarn)
  • Java (jar files)
  • detecting package manager manifests (Python, Ruby)

Others:

  • Dockerfile analysis
  • identifying Node and Java binaries installed outside the package manager
  • running on Windows (not the same as scanning Windows containers)
  • collecting the rootFs hashes for base image detection and recommendation

Tests

Refer to test/README.md for running and writing tests.

About

This plugin provides dependency metadata for Docker images

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages