mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Merge pull request #24316 from dvdksn/docker-vscode-ext
chore: update references to docker vscode extension
This commit is contained in:
@@ -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 (Beta)](https://marketplace.visualstudio.com/items?itemName=docker.docker) for linting, code navigation, and vulnerability scanning.
|
||||
> Check out the [Docker DX](https://marketplace.visualstudio.com/items?itemName=docker.docker) extension for linting, code navigation, and vulnerability scanning.
|
||||
|
||||
## Next steps
|
||||
|
||||
|
||||
@@ -281,7 +281,7 @@ to create an efficient and maintainable Dockerfile.
|
||||
> [!TIP]
|
||||
>
|
||||
> To improve linting, code navigation, and vulnerability scanning of your Dockerfiles in Visual Studio Code
|
||||
> see [Docker VS Code Extension](https://marketplace.visualstudio.com/items?itemName=docker.docker).
|
||||
> see the [Docker DX](https://marketplace.visualstudio.com/items?itemName=docker.docker) extension.
|
||||
|
||||
### FROM
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ Build checks are useful for:
|
||||
> [!TIP]
|
||||
>
|
||||
> To improve linting, code navigation, and vulnerability scanning of your Dockerfiles in Visual Studio Code
|
||||
> see [Docker VS Code Extension](https://marketplace.visualstudio.com/items?itemName=docker.docker).
|
||||
> see the [Docker DX](https://marketplace.visualstudio.com/items?itemName=docker.docker) extension.
|
||||
|
||||
## Build with checks
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@ weight: 20
|
||||
description: Learn about Dockerfiles and how to use them with Docker Images to build and package your software
|
||||
keywords: build, buildx, buildkit, getting started, dockerfile
|
||||
aliases:
|
||||
- /build/hellobuild/
|
||||
- /build/building/packaging/
|
||||
- /build/hellobuild/
|
||||
- /build/building/packaging/
|
||||
---
|
||||
|
||||
<!-- vale Docker.We = NO -->
|
||||
@@ -22,7 +22,7 @@ reference in the [Dockerfile reference](/reference/dockerfile.md).
|
||||
Here are the most common types of instructions:
|
||||
|
||||
| Instruction | Description |
|
||||
|-----------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| --------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| [`FROM <image>`](/reference/dockerfile.md#from) | Defines a base for your image. |
|
||||
| [`RUN <command>`](/reference/dockerfile.md#run) | Executes any commands in a new layer on top of the current image and commits the result. `RUN` also has a shell form for running commands. |
|
||||
| [`WORKDIR <directory>`](/reference/dockerfile.md#workdir) | Sets the working directory for any `RUN`, `CMD`, `ENTRYPOINT`, `COPY`, and `ADD` instructions that follow it in the Dockerfile. |
|
||||
@@ -284,4 +284,4 @@ Docker host.
|
||||
> [!TIP]
|
||||
>
|
||||
> To improve linting, code navigation, and vulnerability scanning of your Dockerfiles in Visual Studio Code
|
||||
> see [Docker VS Code Extension](https://marketplace.visualstudio.com/items?itemName=docker.docker).
|
||||
> see the [Docker DX](https://marketplace.visualstudio.com/items?itemName=docker.docker) extension.
|
||||
|
||||
@@ -1,45 +1,47 @@
|
||||
---
|
||||
description: Find the latest recommended version of the Docker Compose file format
|
||||
description:
|
||||
Find the latest recommended version of the Docker Compose file format
|
||||
for defining multi-container applications.
|
||||
keywords: docker compose file, docker compose yml, docker compose reference, docker
|
||||
keywords:
|
||||
docker compose file, docker compose yml, docker compose reference, docker
|
||||
compose cmd, docker compose user, docker compose image, yaml spec, docker compose
|
||||
syntax, yaml specification, docker compose specification
|
||||
title: Compose file reference
|
||||
toc_max: 4
|
||||
toc_min: 1
|
||||
grid:
|
||||
- title: Version and name top-level element
|
||||
description: Understand version and name attributes for Compose.
|
||||
icon: text_snippet
|
||||
link: /reference/compose-file/version-and-name/
|
||||
- title: Services top-level element
|
||||
description: Explore all services attributes for Compose.
|
||||
icon: construction
|
||||
link: /reference/compose-file/services/
|
||||
- title: Networks top-level element
|
||||
description: Find all networks attributes for Compose.
|
||||
icon: lan
|
||||
link: /reference/compose-file/networks/
|
||||
- title: Volumes top-level element
|
||||
description: Explore all volumes attributes for Compose.
|
||||
icon: database
|
||||
link: /reference/compose-file/volumes/
|
||||
- title: Configs top-level element
|
||||
description: Find out about configs in Compose.
|
||||
icon: settings
|
||||
link: /reference/compose-file/configs/
|
||||
- title: Secrets top-level element
|
||||
description: Learn about secrets in Compose.
|
||||
icon: lock
|
||||
link: /reference/compose-file/secrets/
|
||||
- title: Version and name top-level element
|
||||
description: Understand version and name attributes for Compose.
|
||||
icon: text_snippet
|
||||
link: /reference/compose-file/version-and-name/
|
||||
- title: Services top-level element
|
||||
description: Explore all services attributes for Compose.
|
||||
icon: construction
|
||||
link: /reference/compose-file/services/
|
||||
- title: Networks top-level element
|
||||
description: Find all networks attributes for Compose.
|
||||
icon: lan
|
||||
link: /reference/compose-file/networks/
|
||||
- title: Volumes top-level element
|
||||
description: Explore all volumes attributes for Compose.
|
||||
icon: database
|
||||
link: /reference/compose-file/volumes/
|
||||
- title: Configs top-level element
|
||||
description: Find out about configs in Compose.
|
||||
icon: settings
|
||||
link: /reference/compose-file/configs/
|
||||
- title: Secrets top-level element
|
||||
description: Learn about secrets in Compose.
|
||||
icon: lock
|
||||
link: /reference/compose-file/secrets/
|
||||
aliases:
|
||||
- /compose/yaml/
|
||||
- /compose/compose-file/compose-file-v1/
|
||||
- /compose/compose-file/
|
||||
- /compose/reference/overview/
|
||||
- /compose/yaml/
|
||||
- /compose/compose-file/compose-file-v1/
|
||||
- /compose/compose-file/
|
||||
- /compose/reference/overview/
|
||||
---
|
||||
|
||||
>**New to Docker Compose?**
|
||||
> **New to Docker Compose?**
|
||||
>
|
||||
> Find more information about the [key features and use cases of Docker Compose](/manuals/compose/intro/features-uses.md) or [try the quickstart guide](/manuals/compose/gettingstarted.md).
|
||||
|
||||
@@ -49,11 +51,11 @@ Legacy versions 2.x and 3.x of the Compose file format were merged into the Comp
|
||||
|
||||
The Compose Specification on Docker Docs is the Docker Compose implementation. If you wish to implement your own version of the Compose Specification, see the [Compose Specification repository](https://github.com/compose-spec/compose-spec).
|
||||
|
||||
Use the following links to navigate key sections of the Compose Specification.
|
||||
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 (Beta)](https://marketplace.visualstudio.com/items?itemName=docker.docker) for linting, code navigation, and vulnerability scanning.
|
||||
> Check out the [Docker DX](https://marketplace.visualstudio.com/items?itemName=docker.docker) extension for linting, code navigation, and vulnerability scanning.
|
||||
|
||||
{{< grid >}}
|
||||
|
||||
Reference in New Issue
Block a user