Skip to content

Docker workshop app with critical vulnerabilities #23988

@MikeMcC399

Description

@MikeMcC399

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

Other

Description

As already reported in issue

Following the instructions in https://docs.docker.com/get-started/workshop/ leads to building an image with multiple vulnerabilities, including 3 critical ones.

Image

Location

https://docs.docker.com/get-started/workshop/

Suggestion

Review the instructions sourced from https://github.com/docker/docs/edit/main/content/get-started/workshop and consider updating or replacing the app source https://github.com/docker/getting-started-app

Steps to reproduce

git clone https://github.com/docker/getting-started-app.git
cd getting-started-app
cat > Dockerfile <<EOT
# syntax=docker/dockerfile:1

FROM node:lts-alpine
WORKDIR /app
COPY . .
RUN yarn install --production
CMD ["node", "src/index.js"]
EXPOSE 3000
EOT
docker build -t getting-started .

In Docker Desktop select Images, then for the getting-started image, select "View packages and CVEs" in three-dot menu.
Select "Start analysis"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions