build: tidy 'develop' section in guides (#16196)

Signed-off-by: David Karlsson <david.karlsson@docker.com>
This commit is contained in:
David Karlsson 2022-11-23 16:53:04 +01:00 committed by GitHub
parent 559c103926
commit bad2be0b64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 9 additions and 55 deletions

View File

@ -139,10 +139,6 @@ guides:
section:
- path: /develop/develop-images/dockerfile_best-practices/
title: Dockerfile best practices
- path: /develop/develop-images/image_management/
title: Manage images
- path: /develop/develop-images/baseimages/
title: Create your own base image (advanced)
- path: /develop/scan-images/
title: Scan images
- sectiontitle: Deploy your app to the cloud
@ -1557,6 +1553,8 @@ manuals:
title: Multi-stage builds
- path: /build/building/multi-platform/
title: Multi-platform images
- path: /build/building/base-images/
title: Create your own base image
- sectiontitle: Customizing builds
section:
- sectiontitle: High-level builds with Bake

View File

@ -5,6 +5,7 @@ redirect_from:
- /articles/baseimages/
- /engine/articles/baseimages/
- /engine/userguide/eng-image/baseimages/
- /develop/develop-images/baseimages/
title: Create a base image
---
@ -109,5 +110,5 @@ There are lots of resources available to help you write your `Dockerfile`.
* There's a [complete guide to all the instructions](../../engine/reference/builder.md) available for use in a `Dockerfile` in the reference section.
* To help you write a clear, readable, maintainable `Dockerfile`, we've also
written a [`Dockerfile` best practices guide](dockerfile_best-practices.md).
written a [Dockerfile best practices guide](../../develop/develop-images/dockerfile_best-practices.md).
* If your goal is to create a new Docker Official Image, read [Docker Official Images](../../docker-hub/official_images.md).

View File

@ -45,7 +45,7 @@ keep image size small:
```
- If you have multiple images with a lot in common, consider creating your own
[base image](develop-images/baseimages.md) with the shared
[base image](../build/building/base-images.md) with the shared
components, and basing your unique images on that. Docker only needs to load
the common layers once, and they are cached. This means that your
derivative images use memory on the Docker host more efficiently and load more

View File

@ -886,8 +886,8 @@ These Official Images have exemplary `Dockerfile`s:
## Additional resources:
* [Dockerfile Reference](../../engine/reference/builder.md)
* [More about Base Images](baseimages.md)
* [More about Automated Builds](../../docker-hub/builds/index.md)
* [Guidelines for Creating Docker Official Images](../../docker-hub/official_images.md)
* [Best practices to containerize Node.js web applications with Docker](https://snyk.io/blog/10-best-practices-to-containerize-nodejs-web-applications-with-docker){:target="_blank" rel="noopener" class="_"}
* [More about Base Images](../../build/building/base-images.md)

View File

@ -1,44 +0,0 @@
---
redirect_from:
- /reference/api/hub_registry_spec/
- /userguide/image_management/
- /engine/userguide/eng-image/image_management/
description: Documentation for docker Registry and Registry API
keywords: docker, registry, api, hub
title: Manage images
---
The easiest way to make your images available for use by others inside or
outside your organization is to use a Docker registry, such as [Docker Hub](#docker-hub),
or by running your own [private registry](#docker-registry).
## Docker Hub
[Docker Hub](../../docker-hub/index.md) is a public registry managed by Docker,
Inc. It centralizes information about organizations, user accounts, and images.
It includes a web UI, authentication and authorization using organizations, CLI
and API access using commands such as `docker login`, `docker pull`, and `docker
push`, comments, stars, search, and more.
## Docker Registry
The Docker Registry is a component of Docker's ecosystem. A registry is a
storage and content delivery system, holding named Docker images, available in
different tagged versions. For example, the image `distribution/registry`, with
tags `2.0` and `latest`. Users interact with a registry by using docker push and
pull commands such as `docker pull myregistry.com/stevvooe/batman:voice`.
Docker Hub is an instance of a Docker Registry.
## Content Trust
When transferring data among networked systems, *trust* is a central concern. In
particular, when communicating over an untrusted medium such as the internet, it
is critical to ensure the integrity and publisher of all of the data a system
operates on. You use Docker to push and pull images (data) to a registry.
Content trust gives you the ability to both verify the integrity and the
publisher of all the data received from a registry over any channel.
See [Content trust](../../engine/security/trust/index.md) for information about
configuring and using this feature on Docker clients.

View File

@ -154,7 +154,7 @@ When we have used that `FROM` command, we told Docker to include in our image al
> **Note**
>
> If you want to learn more about creating your own base images, see [creating base images](../../develop/develop-images/baseimages.md) section of the guide.
> If you want to learn more about creating your own base images, see [creating base images](../../build/building/base-images.md) section of the guide.
To make things easier when running the rest of our commands, lets create a
directory _inside_ the image that we are building. This also instructs Docker

View File

@ -15,7 +15,6 @@ For more information, refer to the following topics:
* [Best practices for writing Dockerfiles](../develop/develop-images/dockerfile_best-practices.md)
* [Docker development best practices](../develop/dev-best-practices.md)
* [Build images with BuildKit](../build/buildkit/index.md#getting-started)
* [Manage images](../develop/develop-images/image_management.md)
## Language-specific getting started guides

View File

@ -113,7 +113,7 @@ In the same way, when we use the `FROM` command, we tell Docker to include in ou
> **Note**
>
> If you want to learn more about creating your own base images, see [Creating base images](../../develop/develop-images/baseimages.md).
> If you want to learn more about creating your own base images, see [Creating base images](../../build/building/base-images.md).
The `NODE_ENV` environment variable specifies the environment in which an application is running (usually, development or production). One of the simplest things you can do to improve performance is to set `NODE_ENV` to `production`.

View File

@ -82,7 +82,7 @@ Docker images can be inherited from other images. Therefore, instead of creating
> **Note**
>
> To learn more about creating your own base images, see [Creating base images](../../develop/develop-images/baseimages.md).
> To learn more about creating your own base images, see [Creating base images](../../build/building/base-images.md).
To make things easier when running the rest of our commands, lets create a working directory. This instructs Docker to use this path as the default location for all subsequent commands. By doing this, we do not have to type out full file paths but can use relative paths based on the working directory.