mirror of https://github.com/docker/docs.git
vscode tip
This commit is contained in:
parent
4ff1ad24ea
commit
f15c10dd5b
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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 >}}
|
||||
|
|
Loading…
Reference in New Issue