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
Sep 18, 2022
Apr 13, 2022
Oct 12, 2022
Aug 23, 2021
Sep 28, 2022
Jun 22, 2022
Sep 6, 2022
May 23, 2019
May 31, 2019
Sep 20, 2021
May 23, 2019
Mar 1, 2018
Aug 5, 2018
Mar 1, 2018
Oct 18, 2021
Jul 9, 2020
Nov 22, 2021
Aug 31, 2022
May 15, 2022
Sep 14, 2022

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.