From f15c10dd5b50d0f768dab02c03bf116641673a32 Mon Sep 17 00:00:00 2001 From: aevesdocker Date: Mon, 24 Mar 2025 11:54:24 +0000 Subject: [PATCH 1/2] vscode tip --- content/manuals/build/bake/introduction.md | 5 +++++ content/manuals/build/building/best-practices.md | 5 +++++ content/manuals/build/checks.md | 5 +++++ content/manuals/build/concepts/dockerfile.md | 5 +++++ content/reference/compose-file/_index.md | 5 +++++ 5 files changed, 25 insertions(+) diff --git a/content/manuals/build/bake/introduction.md b/content/manuals/build/bake/introduction.md index 5265a26e3878..70585fe886ea 100644 --- a/content/manuals/build/bake/introduction.md +++ b/content/manuals/build/bake/introduction.md @@ -84,6 +84,11 @@ target "myapp" { } ``` +> [!TIP] +> +> Want a better editing experience for Bake files in VS Code? +> Check out the [Docker VS Code Extension (experimental)](https://github.com/docker/vscode-extension) for linting, code navigation, and vulnerability scanning. + ## Next steps To learn more about using Bake, see the following topics: diff --git a/content/manuals/build/building/best-practices.md b/content/manuals/build/building/best-practices.md index 343c42b62c54..75182f36c81b 100644 --- a/content/manuals/build/building/best-practices.md +++ b/content/manuals/build/building/best-practices.md @@ -257,6 +257,11 @@ automatically build and tag a Docker image and test it. Follow these recommendations on how to properly use the [Dockerfile instructions](/reference/dockerfile.md) to create an efficient and maintainable Dockerfile. +> [!TIP] +> +> Want a better editing experience for Dockerfiles in VS Code? +> Check out the [Docker VS Code Extension (experimental)](https://github.com/docker/vscode-extension) for linting, code navigation, and vulnerability scanning. + ### FROM Whenever possible, use current official images as the basis for your diff --git a/content/manuals/build/checks.md b/content/manuals/build/checks.md index b741f71800e7..2fe2be360cb3 100644 --- a/content/manuals/build/checks.md +++ b/content/manuals/build/checks.md @@ -36,6 +36,11 @@ Build checks are useful for: - Identifying potential issues or anti-patterns in your Dockerfile and build options. +> [!TIP] +> +> Want a better editing experience for Dockerfiles in VS Code? +> Check out the [Docker VS Code Extension (experimental)](https://github.com/docker/vscode-extension) for linting, code navigation, and vulnerability scanning. + ## Build with checks Build checks are supported in: diff --git a/content/manuals/build/concepts/dockerfile.md b/content/manuals/build/concepts/dockerfile.md index 6a9de90499a4..461955fe1569 100644 --- a/content/manuals/build/concepts/dockerfile.md +++ b/content/manuals/build/concepts/dockerfile.md @@ -278,3 +278,8 @@ $ docker run -p 127.0.0.1:8000:8000 test:latest This publishes the container's port 8000 to `http://localhost:8000` on the Docker host. + +> [!TIP] +> +> Want a better editing experience for Dockerfiles in VS Code? +> Check out the [Docker VS Code Extension (experimental)](https://github.com/docker/vscode-extension) for linting, code navigation, and vulnerability scanning. diff --git a/content/reference/compose-file/_index.md b/content/reference/compose-file/_index.md index 2c24cfb4130a..7bc125451f81 100644 --- a/content/reference/compose-file/_index.md +++ b/content/reference/compose-file/_index.md @@ -51,4 +51,9 @@ The Compose Specification on Docker Docs is the Docker Compose implementation. I Use the following links to navigate key sections of the Compose Specification. +> [!TIP] +> +> Want a better editing experience for Compose files in VS Code? +> Check out the [Docker VS Code Extension (experimental)](https://github.com/docker/vscode-extension) for linting, code navigation, and vulnerability scanning. + {{< grid >}} From 09dbd3fddf016cb72b05bb0629ce2dec8056793e Mon Sep 17 00:00:00 2001 From: Allie Sadler <102604716+aevesdocker@users.noreply.github.com> Date: Wed, 26 Mar 2025 14:42:27 +0000 Subject: [PATCH 2/2] Apply suggestions from code review --- content/manuals/build/bake/introduction.md | 2 +- content/manuals/build/building/best-practices.md | 2 +- content/manuals/build/checks.md | 2 +- content/manuals/build/concepts/dockerfile.md | 2 +- content/reference/compose-file/_index.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/manuals/build/bake/introduction.md b/content/manuals/build/bake/introduction.md index 70585fe886ea..fcc035a9a8fa 100644 --- a/content/manuals/build/bake/introduction.md +++ b/content/manuals/build/bake/introduction.md @@ -87,7 +87,7 @@ target "myapp" { > [!TIP] > > Want a better editing experience for Bake files in VS Code? -> Check out the [Docker VS Code Extension (experimental)](https://github.com/docker/vscode-extension) for linting, code navigation, and vulnerability scanning. +> Check out the [Docker VS Code Extension (Beta)](https://marketplace.visualstudio.com/items?itemName=docker.docker) for linting, code navigation, and vulnerability scanning. ## Next steps diff --git a/content/manuals/build/building/best-practices.md b/content/manuals/build/building/best-practices.md index 75182f36c81b..61064998b33b 100644 --- a/content/manuals/build/building/best-practices.md +++ b/content/manuals/build/building/best-practices.md @@ -260,7 +260,7 @@ to create an efficient and maintainable Dockerfile. > [!TIP] > > Want a better editing experience for Dockerfiles in VS Code? -> Check out the [Docker VS Code Extension (experimental)](https://github.com/docker/vscode-extension) for linting, code navigation, and vulnerability scanning. +> Check out the [Docker VS Code Extension (Beta)](https://marketplace.visualstudio.com/items?itemName=docker.docker) for linting, code navigation, and vulnerability scanning. ### FROM diff --git a/content/manuals/build/checks.md b/content/manuals/build/checks.md index 2fe2be360cb3..afbf82392668 100644 --- a/content/manuals/build/checks.md +++ b/content/manuals/build/checks.md @@ -39,7 +39,7 @@ Build checks are useful for: > [!TIP] > > Want a better editing experience for Dockerfiles in VS Code? -> Check out the [Docker VS Code Extension (experimental)](https://github.com/docker/vscode-extension) for linting, code navigation, and vulnerability scanning. +> Check out the [Docker VS Code Extension (Beta)](https://marketplace.visualstudio.com/items?itemName=docker.docker) for linting, code navigation, and vulnerability scanning. ## Build with checks diff --git a/content/manuals/build/concepts/dockerfile.md b/content/manuals/build/concepts/dockerfile.md index 461955fe1569..18601a9b15de 100644 --- a/content/manuals/build/concepts/dockerfile.md +++ b/content/manuals/build/concepts/dockerfile.md @@ -282,4 +282,4 @@ Docker host. > [!TIP] > > Want a better editing experience for Dockerfiles in VS Code? -> Check out the [Docker VS Code Extension (experimental)](https://github.com/docker/vscode-extension) for linting, code navigation, and vulnerability scanning. +> Check out the [Docker VS Code Extension (Beta)](https://marketplace.visualstudio.com/items?itemName=docker.docker) for linting, code navigation, and vulnerability scanning. diff --git a/content/reference/compose-file/_index.md b/content/reference/compose-file/_index.md index 7bc125451f81..b9624cb6ef01 100644 --- a/content/reference/compose-file/_index.md +++ b/content/reference/compose-file/_index.md @@ -54,6 +54,6 @@ Use the following links to navigate key sections of the Compose Specification. > [!TIP] > > Want a better editing experience for Compose files in VS Code? -> Check out the [Docker VS Code Extension (experimental)](https://github.com/docker/vscode-extension) for linting, code navigation, and vulnerability scanning. +> Check out the [Docker VS Code Extension (Beta)](https://marketplace.visualstudio.com/items?itemName=docker.docker) for linting, code navigation, and vulnerability scanning. {{< grid >}}