Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# syntax=docker/dockerfile-upstream:master
# syntax=docker/dockerfile:1
# check=skip=InvalidBaseImagePlatform

# ALPINE_VERSION sets the Alpine Linux version for all Alpine stages
ARG ALPINE_VERSION=3.20
# GO_VERSION sets the Go version for the base stage
ARG GO_VERSION=1.23
# HTML_TEST_VERSION sets the wjdp/htmltest version for HTML testing
# HTMLTEST_VERSION sets the wjdp/htmltest version for HTML testing
ARG HTMLTEST_VERSION=0.17.0

# base is the base stage with build dependencies
Expand Down
15 changes: 4 additions & 11 deletions content/get-started/introduction/develop-with-containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,32 +79,25 @@ With this environment up and running, you’re ready to make a few changes to th

The greeting at the top of the page is populated by an API call at `/api/greeting`. Currently, it always returns "Hello world!". You’ll now modify it to return one of three randomized messages (that you'll get to choose).

1. Open the `backend/src/routes/getGreeting.js` file. This file provides the handler for the API endpoint.
1. Open the `backend/src/routes/getGreeting.js` file in a text editor. This file provides the handler for the API endpoint.

2. Modify the variable at the top to an array of greetings. Feel free to use the following modifications or customize it to your own liking.
2. Modify the variable at the top to an array of greetings. Feel free to use the following modifications or customize it to your own liking. Also, update the endpoint to send a random greeting from this list.

```js {linenos=table,hl_lines=["1-5"],linenostart=1}
```js {linenos=table,hl_lines=["1-5",9],linenostart=1}
const GREETINGS = [
"Whalecome!",
"All hands on deck!",
"Charting the course ahead!",
];

module.exports = async (req, res) => {
...
```

3. Now, update the endpoint to send a random greeting from this list by making the following change:

```js {linenos=table,hl_lines=[3],linenostart=7}
module.exports = async (req, res) => {
res.send({
greeting: GREETINGS[ Math.floor( Math.random() * GREETINGS.length )],
});
};
```

4. If you haven't done so yet, save the file. If you refresh your browser, you should see a new greeting. If you keep refreshing, you should see all of the messages appear.
3. If you haven't done so yet, save the file. If you refresh your browser, you should see a new greeting. If you keep refreshing, you should see all of the messages appear.

![Screenshot of the to-do app with a new greeting](images/develop-app-with-greetings.webp)

Expand Down
2 changes: 1 addition & 1 deletion content/guides/databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -696,4 +696,4 @@ Related information:
- [Dockerfile reference](/reference/dockerfile/)
- [Compose file reference](/reference/compose-file/)
- [CLI reference](/reference/cli/docker/)
- [Database samples](../../samples/_index.md#databases)
- [Database samples](../../reference/samples/_index.md#databases)
15 changes: 7 additions & 8 deletions content/guides/docker-scout/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,24 +29,23 @@ params:

When container images are insecure, significant risks can arise. Around 60% of
organizations have reported experiencing at least one security breach or
vulnerability incident within a year, resulting in operational
disruption.[^CSA] These incidents often result in considerable downtime, with
vulnerability incident within a year, [resulting in operational
disruption][CSA]. These incidents often result in considerable downtime, with
44% of affected companies experiencing over an hour of downtime per event. The
financial impact is substantial, with the average data breach cost reaching
$4.45 million.[^IBM] This highlights the critical importance of maintaining
financial impact is substantial, with [the average data breach cost reaching
$4.45 million][IBM]. This highlights the critical importance of maintaining
robust container security measures.

Docker Scout enhances container security by providing automated vulnerability
detection and remediation, addressing insecure container images, and ensuring
compliance with security standards.

[^CSA]: https://cloudsecurityalliance.org/blog/2023/09/21/2023-global-cloud-threat-report-cloud-attacks-are-lightning-fast

[^IBM]: https://www.ibm.com/reports/data-breach
[CSA]: https://cloudsecurityalliance.org/blog/2023/09/21/2023-global-cloud-threat-report-cloud-attacks-are-lightning-fast
[IBM]: https://www.ibm.com/reports/data-breach

## What you'll learn

- Define secure software supply chain (SSSC)
- Define Secure Software Supply Chain (SSSC)
- Review SBOMs and how to use them
- Detect and monitor vulnerabilities

Expand Down
2 changes: 1 addition & 1 deletion content/guides/docker-scout/demo.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Docker Scout demo
description: Learn about Docke rScout's powerful features for enhanced supply chain security.
description: Learn about Docker Scout's powerful features for enhanced supply chain security.
weight: 20
---

Expand Down
2 changes: 1 addition & 1 deletion content/manuals/scout/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ grid:
description: |
The web interface for Docker Scout.
icon: dashboard
- title: Policy {{< badge color=violet text="Early Access" >}}
- title: Policy
link: /scout/policy/
description: |
Ensure that your artifacts align with supply chain best practices.
Expand Down
5 changes: 0 additions & 5 deletions content/manuals/scout/policy/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ description: |
requirements over time
---

{{% restricted title="Early Access" %}}
Policy Evaluation is an [Early Access](/release-lifecycle/#early-access-ea)
feature of Docker Scout.
{{% /restricted %}}

In software supply chain management, maintaining the security and reliability
of artifacts is a top priority. Policy Evaluation in Docker Scout introduces a
layer of control, on top of existing analysis capabilities. It lets you define
Expand Down
25 changes: 19 additions & 6 deletions content/manuals/scout/policy/configure.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ To add a policy:
1. Go to the [Policies page](https://scout.docker.com/reports/policy) in the Docker Scout Dashboard.
2. Select the **Add policy** button to open the policy configuration screen.
3. On the policy configuration screen, locate the policy type that you want to
configure, and select **Configure** to open the policy configuration panel.
configure, and select **Configure** to open the policy configuration page.

- If the **Configure** button is grayed out, it means the selected policy
- If the **Configure** button is grayed out, it means the current policy
has no configurable parameters.
- If the button reads **Integrate**, it indicates that setup is required
before the policy can be enabled. Selecting **Integrate** will direct you
Expand All @@ -42,11 +42,25 @@ To add a policy:
4. Update the policy parameters.
5. Save the changes:

- Select **Save and enable** to commit the changes and enable the policy for
- Select **Save policy** to commit the changes and enable the policy for
your current organization.
- Select **Save policy** to save the policy configuration without enabling
- Select **Save and disable** to save the policy configuration without enabling
it.

## Edit a policy

Editing a policy lets you to modify its configuration without creating
a new one from scratch. This can be useful when policy parameters need adjustments
due to evolving requirements or changes in your organization's compliance goals.

To edit a policy:

1. Go to the [Policies page](https://scout.docker.com/reports/policy) in the Docker Scout Dashboard.
2. Select the policy you want to edit.
3. Select the **Edit** button.
4. Update the policy parameters.
5. Save the changes.

## Disable a policy

When you disable a policy, evaluation results for that policy are hidden, and
Expand All @@ -70,8 +84,7 @@ To delete a policy:

1. Go to the [Policies page](https://scout.docker.com/reports/policy) in the Docker Scout Dashboard.
2. Select the policy you want to delete.
3. Select **View policy details**.
4. Select the **Delete** button.
3. Select the **Delete** button.

## Recover a deleted policy

Expand Down
5 changes: 0 additions & 5 deletions content/manuals/scout/policy/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ description: |
keywords: scout, policy, status, vulnerabilities, supply chain, cves, licenses
---

{{% restricted title="Earyl Access" %}}
Policy Evaluation is an [Early Access](/release-lifecycle/#early-access-ea)
feature of Docker Scout.
{{% /restricted %}}

You can track policy status for your artifacts from the [Docker Scout
Dashboard](#dashboard), or using the [CLI](#cli).

Expand Down
16 changes: 16 additions & 0 deletions content/manuals/scout/release-notes/platform.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,22 @@ Docker Scout platform, including the Dashboard. For CLI release notes, refer to
Take a look at the [Docker Public Roadmap](https://github.com/docker/roadmap/projects/1)
for what's coming next.

## Q4 2024

New features and enhancements released in the fourth quarter of 2024.

### 2024-10-09

Policy Evaluation has graduated form Early Access to General Availability.

Docker Scout Dashboard UI changes:

- On the Docker Scout Dashboard, selecting a policy card now opens the policy
details page instead of the policy results page.
- The policy results page and the policy details side panel are now read-only.
Policy actions (edit, disable, delete) are now accessible from the policy
details page.

## Q3 2024

New features and enhancements released in the third quarter of 2024.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
linkTitle: Samples
title: Samples overview
description: Learn how to containerize different types of services by walking through
Official Docker samples.
cascade:
layout: samples
type: samples
aliases:
- /en/latest/examples/
- /engine/examples/
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading