开始使用
用户手册
参考文档
SpringAI中文
Ollama中文
Pytorch中文
OpenAI中文
Anaconda中文
Nginx中文
切换语言
This section
Docker Engine
Install Docker Engine
Install Docker Engine on Ubuntu
Install Docker Engine on Debian
Install Docker Engine on RHEL
Install Docker Engine on Fedora
Install Docker Engine on Raspberry Pi OS (32-bit)
Install Docker Engine on CentOS
Install Docker Engine on SLES (s390x)
Install Docker Engine from binaries
Linux post-installation steps for Docker Engine
Storage
Volumes
Bind mounts
tmpfs mounts
Storage drivers
Select a storage driver
BTRFS storage driver
Device Mapper storage driver (deprecated)
OverlayFS storage driver
VFS storage driver
ZFS storage driver
containerd image store with Docker Engine
Networking overview
Packet filtering and firewalls
Network drivers
Bridge network driver
Host network driver
IPvlan network driver
Macvlan network driver
None network driver
Overlay network driver
Tutorials
Networking using a macvlan network
Networking using the host network
Networking with overlay networks
Networking with standalone containers
Use CA certificates with Docker
Legacy container links
Containers
Start containers automatically
Run multiple processes in a container
Resource constraints
Runtime metrics
Running containers
CLI
Completion
Use a proxy server with the Docker CLI
Filter commands
Format command and log output
OpenTelemetry for the Docker CLI
Docker daemon configuration overview
Start the daemon
Use IPv6 networking
Daemon proxy configuration
Live restore
Alternative container runtimes
Collect Docker metrics with Prometheus
Configure remote access for Docker daemon
Read the daemon logs
Troubleshooting the Docker daemon
Manage resources
Docker contexts
Docker object labels
Prune unused Docker objects
View container logs
Configure logging drivers
Customize log driver output
Logging drivers
Amazon CloudWatch Logs logging driver
ETW logging driver
Fluentd logging driver
Google Cloud Logging driver
Graylog Extended Format logging driver
Journald logging driver
JSON File logging driver
Local file logging driver
Splunk logging driver
Syslog logging driver
Use a logging driver plugin
Use docker logs with remote logging drivers
Docker Engine security
Rootless mode
Antivirus software and Docker
AppArmor security profiles for Docker
Content trust in Docker
Automation with content trust
Delegations for content trust
Deploy Notary Server with Compose
Manage keys for content trust
Play in a content trust sandbox
Docker security non-events
Isolate containers with a user namespace
Protect the Docker daemon socket
Seccomp security profiles for Docker
Verify repository client with certificates
Swarm mode
Administer and maintain a swarm of Docker Engines
Deploy a stack to a swarm
Deploy services to a swarm
Getting started with Swarm mode
Create a swarm
Add nodes to the swarm
Deploy a service to the swarm
Inspect a service on the swarm
Scale the service in the swarm
Delete the service running on the swarm
Apply rolling updates to a service
Drain a node on the swarm
How swarm works
How nodes work
How services work
Manage swarm security with public key infrastructure (PKI)
Swarm task states
Join nodes to a swarm
Lock your swarm to protect its encryption key
Manage nodes in a swarm
Manage sensitive data with Docker secrets
Manage swarm service networks
Raft consensus in swarm mode
Run Docker Engine in swarm mode
Store configuration data using Docker Configs
Swarm mode key concepts
Use Swarm mode routing mesh
Deprecated Docker Engine features
Docker Engine managed plugin system
Access authorization plugin
Docker log driver plugins
Docker network driver plugins
Docker Plugin API
Docker volume plugins
Plugin Config Version 1 of Plugin V2
Use Docker Engine plugins
Release notes
Docker Engine prior releases
Docker Engine 17.03 release notes
Docker Engine 17.04 release notes
Docker Engine 17.05 release notes
Docker Engine 17.06 release notes
Docker Engine 17.07 release notes
Docker Engine 17.09 release notes
Docker Engine 17.10 release notes
Docker Engine 17.11 release notes
Docker Engine 17.12 release notes
Docker Engine 18.01 release notes
Docker Engine 18.02 release notes
Docker Engine 18.03 release notes
Docker Engine 18.04 release notes
Docker Engine 18.05 release notes
Docker Engine 18.06 release notes
Docker Engine 18.09 release notes
Docker Engine 19.03 release notes
Docker Engine 20.10 release notes
Docker Engine 23.0 release notes
Docker Engine 24.0 release notes
Docker Engine 25.0 release notes
Docker Engine 26.0 release notes
Docker Engine 26.1 release notes
Docker Engine version 27 release notes
Docker Build
Core concepts
Docker Build Overview
Dockerfile overview
Build context
Building
Multi-stage builds
Build variables
Build secrets
Multi-platform builds
Export binaries
Building best practices
Base images
Checking your build configuration
Builders
Build drivers
Docker container build driver
Docker driver
Kubernetes driver
Remote driver
Manage builders
Bake
Introduction to Bake
Bake targets
Inheritance in Bake
Variables in Bake
Expression evaluation in Bake
Functions
Matrix targets
Using Bake with additional contexts
Bake file reference
Building with Bake from a Compose file
Overriding configurations
Remote Bake file definition
Docker build cache
Build cache invalidation
Build garbage collection
Cache storage backends
Amazon S3 cache
Azure Blob Storage cache
GitHub Actions cache
Inline cache
Local cache
Registry cache
Optimize cache usage in builds
Continuous integration with Docker
Docker Build GitHub Actions
Add image annotations with GitHub Actions
Add SBOM and provenance attestations with GitHub Actions
Validating build configuration with GitHub Actions
Using secrets with GitHub Actions
GitHub Actions build summary
Configuring your GitHub Actions builder
Cache management with GitHub Actions
Copy image between registries with GitHub Actions
Export to Docker with GitHub Actions
Local registry with GitHub Actions
Multi-platform image with GitHub Actions
Named contexts with GitHub Actions
Push to multiple registries with GitHub Actions
Reproducible builds with GitHub Actions
Share built image between jobs with GitHub Actions
Manage tags and labels with GitHub Actions
Test before push with GitHub Actions
Update Docker Hub description with GitHub Actions
Metadata
Annotations
Build attestations
Image attestation storage
Provenance attestations
SBOM attestations
SLSA definitions
Exporters overview
Image and registry exporters
Local and tar exporters
OCI and Docker exporters
BuildKit
buildkitd.toml
Configure BuildKit
Custom Dockerfile syntax
Dockerfile release notes
Debugging
OpenTelemetry support
Build release notes
Docker Compose
Introduction to Compose
How Compose works
Why use Compose?
History and development of Docker Compose
Overview of installing Docker Compose
Install the Docker Compose plugin
Install the Docker Compose standalone
Uninstall Docker Compose
Docker Compose Quickstart
How-tos
Specify a project name
Using lifecycle hooks with Compose
Using profiles with Compose
Control startup and shutdown order in Compose
Environment variables in Compose
Set environment variables within your container's environment
Environment variables precedence in Docker Compose
Set or change pre-defined environment variables in Docker Compose
Set, use, and manage variables in a Compose file with interpolation
Best practices for working with environment variables in Docker Compose
Use Compose Watch
How to use secrets in Docker Compose
Networking in Compose
Use multiple Compose files
Merge Compose files
Extend your Compose file
Include
Enable GPU access with Docker Compose
Use Compose in production
Overview of Compose Bridge
Use the default Compose Bridge transformation
Customize Compose Bridge
Advanced integration
Support and feedback
Compose FAQs
Give feedback
Sample apps with Compose
Releases
Docker Compose release notes
Migrate to Compose V2
Registry
Docker Desktop
Setup
Install
Install Docker Desktop on Mac
Understand permission requirements for Docker Desktop on Mac
Install Docker Desktop on Windows
Understand permission requirements for Windows
Enterprise deployment
Use the MSI installer
Use the PKG installer
Use Intune
Use Jamf Pro
FAQs
Install Docker Desktop on Linux
Install Docker Desktop on Ubuntu
Install Docker Desktop on Debian
Install Docker Desktop on Fedora
Install Docker Desktop on Arch-based distributions
Install Docker Desktop on RHEL
Run Docker Desktop for Windows in a VM or VDI environment
Sign in to Docker Desktop
Allowlist for Docker Desktop
Explore Docker Desktop
Explore the Containers view in Docker Desktop
Explore the Images view in Docker Desktop
Explore the Volumes view in Docker Desktop
Explore the Builds view in Docker Desktop
Docker Desktop's Resource Saver mode
Pause Docker Desktop
Features and capabilities
containerd image store
Wasm workloads (Beta)
Synchronized file shares
Overview of Dev Environments
Launch a dev environment
Set up a dev environment
Distribute your dev environment
Use the docker dev CLI plugin
Explore networking features on Docker Desktop
Deploy on Kubernetes with Docker Desktop
GPU support in Docker Desktop
Docker Desktop WSL 2 backend on Windows
Best practices
Use WSL
Using USB/IP with Docker Desktop
Virtual Machine Manager for Docker Desktop on Mac
Using the Docker Desktop CLI
Settings and maintenance
Change your Docker Desktop settings
How to back up and restore your Docker Desktop data
Troubleshoot and support
Troubleshoot Docker Desktop
Troubleshoot topics for Docker Desktop
Workarounds for common problems
Known issues
Get support
FAQs
General FAQs for Desktop
FAQs for Docker Desktop for Mac
FAQs for Docker Desktop for Windows
FAQs for Docker Desktop for Linux
FAQs on Docker Desktop releases
Give feedback
Uninstall Docker Desktop
Docker Desktop release notes
Docker Build Cloud
Docker Build Cloud setup
Building with Docker Build Cloud
Use Docker Build Cloud in CI
Optimize for building in the cloud
Docker Hub
Docker Hub quickstart
Repositories
Create a repository
Manage
Repository information
Access management
Image management
Tags on Docker Hub
Software artifacts on Docker Hub
Push images to a repository
Move images between repositories
Image security insights
Webhooks
Set up Automated Builds
Advanced options for Autobuild and Autotest
Automated repository tests
Configure automated builds from GitHub and BitBucket
How Automated builds work
Manage autobuilds
Troubleshoot your autobuilds
Archive or unarchive a repository
Delete a repository
Personal settings for repositories
Docker Hub usage and rate limits
Service accounts
Registry as a pull through cache
Docker Hub release notes
Docker Scout
Install Docker Scout
Docker Scout quickstart
Explore
Dashboard
Docker Scout image analysis
Docker Scout metrics exporter
Image details view
Manage vulnerability exceptions
How-tos
Create an exception using the GUI
Create an exception using the VEX
Configure Docker Scout with environment variables
Docker Scout SBOMs
Use Scout with different artifact types
Deep dive
Advisory database sources and matching service
Data collection and storage in Docker Scout
Get started with Policy Evaluation in Docker Scout
Configure policies
Docker Scout health scores
Evaluate policy compliance in CI
Remediation with Docker Scout
View Docker Scout policy status
Integrating Docker Scout with other systems
Code quality
Integrate Docker Scout with SonarQube
Container registries
Integrate Docker Scout with Amazon ECR
Integrate Docker Scout with Artifactory
Integrate Docker Scout with Azure Container Registry
Using Docker Scout in continuous integration
Integrate Docker Scout with Microsoft Azure DevOps Pipelines
Integrate Docker Scout with Circle CI
Integrate Docker Scout with GitHub Actions
Integrate Docker Scout with GitLab CI/CD
Integrate Docker Scout with Jenkins
Integrating Docker Scout with environments
Generic environment integration with CLI
Integrate Docker Scout with Sysdig
Source code management
Integrate Docker Scout with GitHub
Team collaboration
Integrate Docker Scout with Slack
Release notes
Docker Scout CLI release notes
Docker Scout release notes
Docker for GitHub Copilot
Install the extension for your organization
Using the Docker for GitHub Copilot extension
Example prompts for the Docker agent
Docker Extensions
Marketplace extensions
Non-marketplace extensions
Configure a private marketplace for extensions
Settings and feedback for Docker Extensions
Overview of the Extensions SDK
The build and publish process
Quickstart
Part one: Build
Create a simple extension
Create an advanced frontend extension
Add a backend to your extension
Part two: Publish
Extension image labels
Validate your extension
Package and release your extension
Share your extension
Publish in the Marketplace
Build multi-arch extensions
Extension architecture
Extension metadata
Extension security
UI styling overview for Docker extensions
Design guidelines for Docker extensions
Docker design principles
MUI best practices
Developer Guides
Authentication
Interacting with Kubernetes from an extension
Invoke host binaries
Use the Docker socket from the extension backend
Developer SDK tools
Test and debug
Continuous Integration (CI)
CLI reference
Extension APIs
Dashboard
Docker
Extension Backend
Extension UI API
Navigation
Cloud integrations
Docker's product release lifecycle
Administration
Organization administration overview
Create your organization
Onboard your organization
Manage organization members
Create and manage a team
Manage Docker products
Activity logs
Organization settings
Insights
Company administration
Create a company
Manage company owners
Manage company users
Manage organizations
Account and admin FAQ
General FAQs for Docker accounts
FAQs on organizations
FAQs on companies
Convert an account into an organization
Deactivating an organization
Billing and payments
Add or update a payment method
Update billing information
3D Secure authentication
View billing history
Change your billing cycle
Register a tax certificate
Docker Hub storage pricing
Billing FAQs
Docker accounts
Create an account
Manage an account
Deactivate an account
Security
For admins
Single sign-on overview
Configure single sign-on
Create an SSO connection
Manage single sign-on
Troubleshoot single sign-on
Provision users
SCIM provisioning
Group mapping
Just-in-Time provisioning
Enforce sign-in for Docker Desktop
Ways to enforce sign-in for Docker Desktop
Roles and permissions
Domain audit
Overview of Hardened Docker Desktop
What is Settings Management?
Configure Settings Management with a JSON file
Configure Settings Management with the Admin Console
What is Enhanced Container Isolation?
How does it work?
Key features and benefits
Advanced configuration options for ECI
Enhanced Container Isolation FAQs
Limitations
Registry Access Management
Image Access Management
Air-gapped containers
Organization access tokens
For developers
Create and manage access tokens
Enable two-factor authentication for your Docker account
Generate a new recovery code
Recover your Docker account
Disable two-factor authentication on your Docker account
FAQs
General security FAQs
Container security FAQs
Network and VM FAQs
Single sign-on
General FAQs on SSO
Domains
Enforcement
Identity providers
Manage users
Docker security announcements
Subscription
Docker subscriptions and features
Set up your subscription
Scale your subscription
Manage subscription seats
Change your subscription
Docker Desktop license agreement
Subscription FAQs
Trusted content
Docker Official Images
Using Docker Official Images
Contributing to Docker Official Images
Docker Verified Publisher Program
Docker-Sponsored Open Source Program
Insights and analytics