跳转到主要内容

章节Docker 文档

Reference

50 页更新于 3 天前

开始阅读

本章内容50

  1. 01 Glossary 3 天前
  2. 02 Docker Verified Publisher API changelog Here you can learn about the latest changes, new features, bug fixes, and known issues for Docker Verified ... 3 天前
  3. 03 Deprecated Docker Verified Publisher API endpoints This page provides an overview of endpoints that are deprecated in Docker Verified Publisher API. Endpoint ... 3 天前
  4. 04 Examples using the Docker Engine SDKs and Docker API After you install Docker, you can install the Go or Python SDK and also try out the Docker Engine API. Each... 3 天前
  5. 05 Interface: BackendV0 execInContainer ▸ execInContainer( container, cmd): Promise< ExecResultV0> Executes a command inside a co... 3 天前
  6. 06 Interface: DesktopUI Since 0.2.0 Properties toast • Readonly toast: Toast dialog • Readonly dialog: Dialog navigate • Reado... 3 天前
  7. 07 Interface: Dialog Allows opening native dialog boxes. Since 0.2.3 Methods showOpenDialog ▸ showOpenDialog( dialogProperties):... 3 天前
  8. 08 Interface: Docker Since 0.2.0 Properties cli • Readonly cli: DockerCommand You can also directly execute the Docker binary.... 3 天前
  9. 09 Interface: DockerCommand Since 0.2.0 Properties exec • exec: Exec 3 天前
  10. 10 Interface: DockerDesktopClient An amalgam of the v0 and v1 interfaces of the Docker Desktop API client, provided for backwards compatibili... 3 天前
  11. 11 Interface: Exec Exec ▸ Exec( cmd, args, options?): Promise< ExecResult> Executes a command. Since 0.2.0 Parameters Name ... 3 天前
  12. 12 Interface: ExecOptions Since 0.3.0 Hierarchy ExecOptions ↳ SpawnOptions Properties cwd • Optional cwd: string env • Optional e... 3 天前
  13. 13 Interface: ExecProcess Since 0.2.3 Methods close ▸ close(): void Close the process started by exec(streamingOptions) Returns void 3 天前
  14. 14 Interface: ExecResult Since 0.2.0 Hierarchy RawExecResult ↳ ExecResult Methods lines ▸ lines(): string[] Split output lines. Re... 3 天前
  15. 15 Interface: ExecResultV0 cmd • Optional Readonly cmd: string killed • Optional Readonly killed: boolean signal • Optional Re... 3 天前
  16. 16 Interface: ExecStreamOptions Since 0.2.2 Properties onOutput • Optional onOutput: ( data: { stdout: string ; stderr?: undefined } ... 3 天前
  17. 17 Interface: Extension Since 0.2.0 Properties vm • Optional Readonly vm: ExtensionVM host • Optional Readonly host: Extensio... 3 天前
  18. 18 Interface: ExtensionCli Since 0.2.0 Properties exec • exec: Exec 3 天前
  19. 19 Interface: ExtensionHost Since 0.2.0 Properties cli • Readonly cli: ExtensionCli Executes a command in the host. For example, exec... 3 天前
  20. 20 Interface: ExtensionVM Since 0.2.0 Properties cli • Readonly cli: ExtensionCli Executes a command in the backend container. Exam... 3 天前
  21. 21 Interface: Host Since 0.2.0 Methods openExternal ▸ openExternal( url): void Opens an external URL with the system default ... 3 天前
  22. 22 Interface: HttpService Since 0.2.0 Methods get ▸ get( url): Promise< unknown> Performs an HTTP GET request to a backend service. ... 3 天前
  23. 23 Interface: NavigationIntents Since 0.2.0 Container Methods viewContainers ▸ viewContainers(): Promise< void> Navigate to the Containers... 3 天前
  24. 24 Interface: OpenDialogResult Since 0.2.3 Properties canceled • Readonly canceled: boolean Whether the dialog was canceled. filePaths •... 3 天前
  25. 25 Interface: RawExecResult Since 0.2.0 Hierarchy RawExecResult ↳ ExecResult Properties cmd • Optional Readonly cmd: string killed ... 3 天前
  26. 26 Interface: RequestConfig Since 0.2.0 Properties url • Readonly url: string method • Readonly method: string headers • Readonly ... 3 天前
  27. 27 Interface: RequestConfigV0 url • Readonly url: string method • Readonly method: string headers • Readonly headers: Record< strin... 3 天前
  28. 28 Interface: ServiceError Error thrown when an HTTP response is received with a status code that falls out to the range of 2xx. Since... 3 天前
  29. 29 Interface: SpawnOptions Since 0.3.0 Hierarchy ExecOptions ↳ SpawnOptions Properties cwd • Optional cwd: string Inherited from Ex... 3 天前
  30. 30 Interface: Toast Toasts provide a brief notification to the user. They appear temporarily and shouldn't interrupt the user e... 3 天前
  31. 31 Docker Hub API changelog Here you can learn about the latest changes, new features, bug fixes, and known issues for Docker Service A... 3 天前
  32. 32 Deprecated Docker Hub API endpoints This page provides an overview of endpoints that are deprecated in Docker Hub API. Endpoint deprecation pol... 3 天前
  33. 33 Registry authentication This document outlines the registry authentication scheme: Attempt to begin a push/pull operation with the ... 3 天前
  34. 34 Compose Build Specification {{% include "compose/build.md" %}} When build is specified as a string, the whole path is used as a Docker... 3 天前
  35. 35 Configs top-level element {{% include "compose/configs.md" %}} Services can only access configs when explicitly granted by a configs... 3 天前
  36. 36 Compose Deploy Specification {{% include "compose/deploy.md" %}} Attributes endpoint_mode endpoint_mode specifies a service discovery me... 3 天前
  37. 37 Compose Develop Specification [!NOTE] Develop is an optional part of the Compose Specification. It is available with Docker Compose versi... 3 天前
  38. 38 Extensions {{% include "compose/extension.md" %}} Extensions can also be used with anchors and aliases. They also can ... 3 天前
  39. 39 Fragments {{% include "compose/fragments.md" %}} Anchors are created using the & sign. The sign is followed by an al... 3 天前
  40. 40 Use include to modularize Compose files {{< summary-bar feature_name="Composefile include" >}} You can reuse and modularize Docker Compose configur... 3 天前
  41. 41 Interpolation {{% include "compose/interpolation.md" %}} For braced expressions, the following formats are supported: Dir... 3 天前
  42. 42 Legacy versions The legacy versions of the Compose file reference has moved to the V1 branch of the Compose repository. The... 3 天前
  43. 43 Merge Compose files {{% include "compose/merge.md" %}} These rules are outlined below. Mapping A YAML mapping gets merged by a... 3 天前
  44. 44 Models {{< summary-bar feature_name="Compose models" >}} The top-level models section declares AI models that are... 3 天前
  45. 45 Define and manage networks in Docker Compose {{% include "compose/networks.md" %}} To use a network across multiple services, you must explicitly grant ... 3 天前
  46. 46 Learn how to use profiles in Docker Compose With profiles you can define a set of active profiles so your Compose application model is adjusted for var... 3 天前
  47. 47 Secrets Secrets are a flavor of Configs focusing on sensitive data, with specific constraint for this usage. Servic... 3 天前
  48. 48 Define services in Docker Compose {{% include "compose/services.md" %}} A Compose file must declare a services top-level element as a map wh... 3 天前
  49. 49 Version and name top-level elements [!IMPORTANT] The top-level version property is defined by the Compose Specification for backward compatibi... 3 天前
  50. 50 Define and manage volumes in Docker Compose {{% include "compose/volumes.md" %}} To use a volume across multiple services, you must explicitly grant ea... 3 天前