-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Open
Labels
area/get-startedRelates to get started and onboarding docsRelates to get started and onboarding docsstatus/triageNeeds triageNeeds triage
Description
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.
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
Labels
area/get-startedRelates to get started and onboarding docsRelates to get started and onboarding docsstatus/triageNeeds triageNeeds triage