Post migration tidy (#17968)

* desktop fixes

* extensions tidy

* extras

* fix

* fix

---------

Co-authored-by: Allie Sadler <alliesadler@f693mt7fh6.home>
This commit is contained in:
Allie Sadler 2023-08-22 15:08:47 +01:00 committed by GitHub
parent 7e71417f51
commit e66e7800b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 162 additions and 221 deletions

View File

@ -77,7 +77,9 @@ Then, build and run the documentation using [Docker Compose](../compose/index.md
docker compose up -d --build docker compose up -d --build
``` ```
> You need Docker Compose to build and run the docs locally. Docker Compose is included with [Docker Desktop](../desktop/index.md). > **Note**
>
>You need Docker Compose to build and run the docs locally. Docker Compose is included with [Docker Desktop](../desktop/index.md).
> If you don't have Docker Desktop installed, follow the [instructions](../compose/install/index.md) to install Docker Compose. > If you don't have Docker Desktop installed, follow the [instructions](../compose/install/index.md) to install Docker Compose.
When the container is built and running, visit [http://localhost:4000](http://localhost:4000) in your web browser to view the docs. When the container is built and running, visit [http://localhost:4000](http://localhost:4000) in your web browser to view the docs.

View File

@ -167,7 +167,8 @@ Inspecting the tag on Docker Hub shows that the image is available for multiple
> >
> If you're using an older version, the Docker daemon reports the following > If you're using an older version, the Docker daemon reports the following
> error: > error:
> `Multiple platforms feature is currently not supported for docker driver. Please switch to a different driver`. > `Multiple platforms feature is currently not supported for docker driver.`
> `Please switch to a different driver`.
> >
> Install a newer version of Buildx following the instructions on > Install a newer version of Buildx following the instructions on
> [how to manually download Buildx](../../build/architecture.md#install-buildx). > [how to manually download Buildx](../../build/architecture.md#install-buildx).

View File

@ -46,13 +46,11 @@ To get started with Dev Environments, you must also install the following tools
> If you have enabled the WSL 2 integration in Docker Desktop for Windows, make sure you have an SSH agent running in your WSL 2 distribution. > If you have enabled the WSL 2 integration in Docker Desktop for Windows, make sure you have an SSH agent running in your WSL 2 distribution.
{ .important } { .important }
<div class="panel panel-default"> {{< accordion title="How to start an SSH agent in WSL 2" >}}
<div class="panel-heading collapsed" data-toggle="collapse" data-target="#collapse-wsl2-ssh" style="cursor: pointer">
How to start an SSH agent in WSL2 If your WSL 2 distribution doesn't have an `ssh-agent` running, you can append this script at the end of your profile file (that is: ~/.profile, ~/.zshrc, ...).
<i class="chevron fa fa-fw"></i></div>
<div class="collapse block" id="collapse-wsl2-ssh"> ```
If your WSL 2 distribution doesn't have an `ssh-agent` running, you can append this script at the end of your profile file (that is: ~/.profile, ~/.zshrc, ...).
<pre><code>
SSH_ENV="$HOME/.ssh/agent-environment" SSH_ENV="$HOME/.ssh/agent-environment"
function start_agent { function start_agent {
echo "Initialising new SSH agent..." echo "Initialising new SSH agent..."
@ -70,9 +68,9 @@ if [ -f "${SSH_ENV}" ]; then
else else
start_agent; start_agent;
fi fi
</code></pre> ```
</div>
</div> {{< /accordion >}}
To launch a dev environment: To launch a dev environment:

View File

@ -4,6 +4,31 @@ description: Overall index for Docker Extensions SDK documentation
keywords: Docker, Extensions, sdk keywords: Docker, Extensions, sdk
aliases: aliases:
- /desktop/extensions-sdk/dev/overview/ - /desktop/extensions-sdk/dev/overview/
grid:
- title: "The build and publish process"
description: Understand the process for building and publishing an extension.
icon: "checklist"
link: "/desktop/extensions-sdk/process/"
- title: "Quickstart guide"
description: Follow the quickstart guide to build a basic Docker Extension quickly.
icon: "explore"
link: "/desktop/extensions-sdk/quickstart/"
- title: "View the design guidelines"
description: Ensure your extension aligns to Docker's design guidelines and principles.
icon: "design_services"
link: "/desktop/extensions-sdk/design/design-guidelines/"
- title: "Publish your extension"
description: Understand how to publish your extension to the Marketplace.
icon: "publish"
link: "/desktop/extensions-sdk/extensions/"
- title: "Interacting with Kubernetes"
description: Find information on how to interact indirectly with a Kubernetes cluster from your Docker Extension.
icon: "multiple_stop"
link: "/desktop/extensions-sdk/dev/kubernetes/"
- title: "Multi-arch extensions"
description: Build your extension for multiple architectures.
icon: "content_copy"
link: "/desktop/extensions-sdk/extensions/multi-arch/"
--- ---
The resources in this section help you create your own Docker extension. The resources in this section help you create your own Docker extension.
@ -22,65 +47,4 @@ the extension to Docker Hub. See [Extensions distribution](extensions/DISTRIBUTI
{{< include "extensions-form.md" >}} {{< include "extensions-form.md" >}}
<div class="component-container"> {{< grid >}}
<!--start row-->
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-4 block">
<div class="component">
<div class="component-icon">
<a href="/desktop/extensions-sdk/process/"><img src="/assets/images/process.svg" alt="Process" width="70" height="70"></a>
</div>
<h2 id="docker-extensions"><a href="/desktop/extensions-sdk/process/">The build and publish process</a></h2>
<p> Understand the process for building and publishing an extension.</p>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-4 block">
<div class="component">
<div class="component-icon">
<a href="/desktop/extensions-sdk/quickstart/"><img src="/assets/images/explore.svg" alt="Quickstart" width="70" height="70"></a>
</div>
<h2 id="docker-extensions"><a href="/desktop/extensions-sdk/quickstart/">Quickstart guide</a></h2>
<p>Follow the quickstart guide to build a basic Docker Extension quickly.</p>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-4 block">
<div class="component">
<div class="component-icon">
<a href="/desktop/extensions-sdk/design/design-guidelines/"><img src="/assets/images/design.svg" alt="Design quidelines" width="70" height="70"></a>
</div>
<h2 id="docker-extensions"><a href="/desktop/extensions-sdk/design/design-guidelines/">View the design guidelines</a></h2>
<p>Ensure your extension aligns to Docker's design guidelines and principles.</p>
</div>
</div>
</div>
<!--start row-->
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-4 block">
<div class="component">
<div class="component-icon">
<a href="/desktop/extensions-sdk/extensions/"><img src="/assets/images/publish.svg" alt="Publish" width="70" height="70"></a>
</div>
<h2 id="docker-extensions"><a href="/desktop/extensions-sdk/extensions/">Publish your extension</a></h2>
<p>Understand how to publish your extension to the Marketplace.</p>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-4 block">
<div class="component">
<div class="component-icon">
<a href="/desktop/extensions-sdk/dev/kubernetes/"><img src="/assets/images/sync.svg" alt="Kubernetes" width="70" height="70"></a>
</div>
<h2 id="docker-extensions"><a href="/desktop/extensions-sdk/dev/kubernetes/">Interacting with Kubernetes</a></h2>
<p>Find information on how to interact indirectly with a Kubernetes cluster from your Docker Extension.</p>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-4 block">
<div class="component">
<div class="component-icon">
<a href="/desktop/extensions-sdk/extensions/multi-arch/"><img src="/assets/images/build-multi-platform.svg" alt="Multi-arch" width="70" height="70"></a>
</div>
<h2 id="docker-extensions"><a href="/desktop/extensions-sdk/extensions/multi-arch/">Multi-arch extensions</a></h2>
<p>Build your extension for multiple architectures.</p>
</div>
</div>
</div>
</div>

View File

@ -128,7 +128,9 @@ await ddClient.docker.cli.exec(
); );
``` ```
> You cannot use this to chain commands in a single `exec()` invocation (like `docker kill $(docker ps -q)` or using pipe between commands). > **Note**
>
>You cannot use this to chain commands in a single `exec()` invocation (like `docker kill $(docker ps -q)` or using pipe between commands).
> >
> You need to invoke `exec()` for each command and parse results to pass parameters to the next command if needed. > You need to invoke `exec()` for each command and parse results to pass parameters to the next command if needed.

View File

@ -20,9 +20,9 @@ const output = await window.ddClient.backend.execInContainer(container, cmd);
console.log(output); console.log(output);
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. > It will be removed in a future version.
#### Parameters #### Parameters
@ -51,9 +51,9 @@ window.ddClient.backend
.then((value: any) => console.log(value)); .then((value: any) => console.log(value));
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. Use [get](HttpService.md#get) instead. > It will be removed in a future version. Use [get](HttpService.md#get) instead.
#### Parameters #### Parameters
@ -79,9 +79,9 @@ window.ddClient.backend
.then((value: any) => console.log(value)); .then((value: any) => console.log(value));
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. Use [post](HttpService.md#post) instead. > It will be removed in a future version. Use [post](HttpService.md#post) instead.
#### Parameters #### Parameters
@ -108,9 +108,9 @@ window.ddClient.backend
.then((value: any) => console.log(value)); .then((value: any) => console.log(value));
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. Use [put](HttpService.md#put) instead. > It will be removed in a future version. Use [put](HttpService.md#put) instead.
#### Parameters #### Parameters
@ -137,9 +137,9 @@ window.ddClient.backend
.then((value: any) => console.log(value)); .then((value: any) => console.log(value));
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. Use [patch](HttpService.md#patch) instead. > It will be removed in a future version. Use [patch](HttpService.md#patch) instead.
#### Parameters #### Parameters
@ -166,9 +166,9 @@ window.ddClient.backend
.then((value: any) => console.log(value)); .then((value: any) => console.log(value));
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. Use [delete](HttpService.md#delete) instead. > It will be removed in a future version. Use [delete](HttpService.md#delete) instead.
#### Parameters #### Parameters
@ -194,9 +194,9 @@ window.ddClient.backend
.then((value: any) => console.log(value)); .then((value: any) => console.log(value));
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. Use [head](HttpService.md#head) instead. > It will be removed in a future version. Use [head](HttpService.md#head) instead.
#### Parameters #### Parameters
@ -222,9 +222,9 @@ window.ddClient.backend
.then((value: any) => console.log(value)); .then((value: any) => console.log(value));
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. Use [request](HttpService.md#request) instead. > It will be removed in a future version. Use [request](HttpService.md#request) instead.
#### Parameters #### Parameters
@ -255,9 +255,9 @@ const output = await window.ddClient.backend.execInVMExtension(
console.log(output); console.log(output);
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. Use [exec](ExtensionCli.md#exec) instead. > It will be removed in a future version. Use [exec](ExtensionCli.md#exec) instead.
#### Parameters #### Parameters
@ -291,9 +291,9 @@ window.ddClient.spawnInVMExtension(
); );
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. > It will be removed in a future version.
#### Parameters #### Parameters

View File

@ -20,9 +20,9 @@ The `window.ddClient.backend` object can be used to communicate with the backend
the extension metadata. the extension metadata.
The client is already connected to the backend. The client is already connected to the backend.
**`Deprecated`** >**Warning**
>
:warning: It will be removed in a future version. Use [extension](DockerDesktopClient.md#extension) instead. > It will be removed in a future version. Use [extension](DockerDesktopClient.md#extension) instead.
#### Inherited from #### Inherited from
@ -87,9 +87,9 @@ You can use the option `{"all": true}` to list all the running and stopped conta
const containers = await window.ddClient.listContainers(); const containers = await window.ddClient.listContainers();
``` ```
**`Deprecated`** >**Warning**
>
:warning: It will be removed in a future version. Use [listContainers](Docker.md#listcontainers) instead. > It will be removed in a future version. Use [listContainers](Docker.md#listcontainers) instead.
#### Parameters #### Parameters
@ -119,9 +119,9 @@ Get the list of images
const images = await window.ddClient.listImages(); const images = await window.ddClient.listImages();
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. Use [listImages](Docker.md#listimages) instead. > It will be removed in a future version. Use [listImages](Docker.md#listimages) instead.
#### Parameters #### Parameters
@ -150,9 +150,9 @@ Navigate to the containers window in Docker Desktop.
window.ddClient.navigateToContainers(); window.ddClient.navigateToContainers();
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. Use [viewContainers](NavigationIntents.md#viewcontainers) instead. > It will be removed in a future version. Use [viewContainers](NavigationIntents.md#viewcontainers) instead.
#### Returns #### Returns
@ -173,9 +173,9 @@ Navigate to the container window in Docker Desktop.
await window.ddClient.navigateToContainer(id); await window.ddClient.navigateToContainer(id);
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. > It will be removed in a future version.
#### Parameters #### Parameters
@ -204,9 +204,9 @@ Navigate to the container logs window in Docker Desktop.
await window.ddClient.navigateToContainerLogs(id); await window.ddClient.navigateToContainerLogs(id);
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. > It will be removed in a future version.
#### Parameters #### Parameters
@ -235,9 +235,9 @@ Navigate to the container inspect window in Docker Desktop.
await window.ddClient.navigateToContainerInspect(id); await window.ddClient.navigateToContainerInspect(id);
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. > It will be removed in a future version.
#### Parameters #### Parameters
@ -267,9 +267,9 @@ Navigate to the container stats to see the CPU, memory, disk read/write and netw
await window.ddClient.navigateToContainerStats(id); await window.ddClient.navigateToContainerStats(id);
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. > It will be removed in a future version.
#### Parameters #### Parameters
@ -298,9 +298,9 @@ Navigate to the images window in Docker Desktop.
await window.ddClient.navigateToImages(id); await window.ddClient.navigateToImages(id);
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. Use [viewImages](NavigationIntents.md#viewimages) instead. > It will be removed in a future version. Use [viewImages](NavigationIntents.md#viewimages) instead.
#### Returns #### Returns
@ -323,9 +323,9 @@ In this navigation route you can find the image layers, commands, created time a
await window.ddClient.navigateToImage(id, tag); await window.ddClient.navigateToImage(id, tag);
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. Use [viewImage](NavigationIntents.md#viewimage) instead. > It will be removed in a future version. Use [viewImage](NavigationIntents.md#viewimage) instead.
#### Parameters #### Parameters
@ -356,9 +356,9 @@ Navigate to the volumes window in Docker Desktop.
await window.ddClient.navigateToVolumes(); await window.ddClient.navigateToVolumes();
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. Use [viewVolumes](NavigationIntents.md#viewvolumes) instead. > It will be removed in a future version. Use [viewVolumes](NavigationIntents.md#viewvolumes) instead.
#### Returns #### Returns
@ -380,9 +380,9 @@ Navigate to a specific volume in Docker Desktop.
window.ddClient.navigateToVolume(volume); window.ddClient.navigateToVolume(volume);
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. Use [viewVolume](NavigationIntents.md#viewvolume) instead. > It will be removed in a future version. Use [viewVolume](NavigationIntents.md#viewvolume) instead.
#### Parameters #### Parameters
@ -410,9 +410,9 @@ Navigate to the Dev Environments window in Docker Desktop.
window.ddClient.navigateToDevEnvironments(); window.ddClient.navigateToDevEnvironments();
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. Use [viewDevEnvironments](NavigationIntents.md#viewdevenvironments) instead. > It will be removed in a future version. Use [viewDevEnvironments](NavigationIntents.md#viewdevenvironments) instead.
#### Returns #### Returns
@ -438,9 +438,9 @@ window.ddClient.execHostCmd(`cliShippedOnHost xxx`).then((cmdResult: any) => {
}); });
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. Use [exec](ExtensionCli.md#exec) instead. > It will be removed in a future version. Use [exec](ExtensionCli.md#exec) instead.
#### Parameters #### Parameters
@ -478,9 +478,9 @@ window.ddClient.spawnHostCmd(
); );
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. Use [exec](ExtensionCli.md#exec) instead. > It will be removed in a future version. Use [exec](ExtensionCli.md#exec) instead.
#### Parameters #### Parameters
@ -510,9 +510,9 @@ You can also directly execute the docker binary.
const output = await window.ddClient.execDockerCmd("info"); const output = await window.ddClient.execDockerCmd("info");
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. Use [exec](DockerCommand.md#exec) instead. > It will be removed in a future version. Use [exec](DockerCommand.md#exec) instead.
#### Parameters #### Parameters
@ -557,9 +557,9 @@ ___
**spawnDockerCmd**(`cmd`, `args`, `callback`): `void` **spawnDockerCmd**(`cmd`, `args`, `callback`): `void`
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. Use [exec](DockerCommand.md#exec) instead. > It will be removed in a future version. Use [exec](DockerCommand.md#exec) instead.
#### Parameters #### Parameters
@ -589,9 +589,9 @@ Opens an external URL with the system default browser.
window.ddClient.openExternal("https://docker.com"); window.ddClient.openExternal("https://docker.com");
``` ```
**`Deprecated`** **Warning**
>
:warning: It will be removed in a future version. Use [openExternal](Host.md#openexternal) instead. > It will be removed in a future version. Use [openExternal](Host.md#openexternal) instead.
#### Parameters #### Parameters
@ -621,9 +621,9 @@ Display a toast message of type success.
window.ddClient.toastSuccess("message"); window.ddClient.toastSuccess("message");
``` ```
**`Deprecated`** >**Warning`**
>
:warning: It will be removed in a future version. Use [success](Toast.md#success) instead. > It will be removed in a future version. Use [success](Toast.md#success) instead.
#### Parameters #### Parameters
@ -651,9 +651,9 @@ Display a toast message of type warning.
window.ddClient.toastWarning("message"); window.ddClient.toastWarning("message");
``` ```
**`Deprecated`** > **Warning**
>
:warning: It will be removed in a future version. Use [warning](Toast.md#warning) instead. > It will be removed in a future version. Use [warning](Toast.md#warning) instead.
#### Parameters #### Parameters
@ -681,9 +681,9 @@ Display a toast message of type error.
window.ddClient.toastError("message"); window.ddClient.toastError("message");
``` ```
**`Deprecated`** >**Warning**
>
:warning: It will be removed in a future version. Use [error](Toast.md#error) instead. > It will be removed in a future version. Use [error](Toast.md#error) instead.
#### Parameters #### Parameters

View File

@ -4,6 +4,23 @@ description: Overview of what Hardened Docker Desktop is and its key features
keywords: security, hardened desktop, enhanced container isolation, registry access keywords: security, hardened desktop, enhanced container isolation, registry access
management, settings management root access, admins, docker desktop, image access management, settings management root access, admins, docker desktop, image access
management management
grid:
- title: "Settings Management"
description: Learn how Settings Management can secure your developers' workflows.
icon: "lock"
link: "/desktop/hardened-desktop/settings-management/"
- title: "Enhanced Container Isolation"
description: Understand how Enhanced Container Isolation can prevent container attacks.
icon: "security"
link: "/desktop/hardened-desktop/enhanced-container-isolation/"
- title: "Registry Access Management"
description: Control the registries developers can access while using Docker Desktop.
icon: "home_storage"
link: "/desktop/hardened-desktop/registry-access-management/"
- title: "Image Access Management"
description: Control the images developers can pull from Docker Hub.
icon: "photo_library"
link: "/docker-hub/image-access-management/"
--- ---
>Note >Note
@ -26,47 +43,4 @@ The features of Hardened Docker Desktop operate independently of each other. Whe
Docker plans to continue adding more security enhancements to the Hardened Docker Desktop security model. Docker plans to continue adding more security enhancements to the Hardened Docker Desktop security model.
<div class="component-container"> {{< grid >}}
<!--start row-->
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-6 block">
<div class="component">
<div class="component-icon">
<a href="/desktop/hardened-desktop/settings-management/"><img src="/assets/images/lock.svg" alt="Hardened Docker Desktop" width="70" height="70"></a>
</div>
<h2 id="hardened-desktop"><a href="/desktop/hardened-desktop/settings-management/">Settings Management </a></h2>
<p>Learn how Settings Management can secure your developers' workflows.</p>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-6 block">
<div class="component">
<div class="component-icon">
<a href="/desktop/hardened-desktop/enhanced-container-isolation"><img src="/assets/images/secure.svg" alt="Release notes" width="70" height="70"></a>
</div>
<h2 id="hardened-desktop"><a href="/desktop/hardened-desktop/enhanced-container-isolation">Enhanced Container Isolation</a></h2>
<p>Understand how Enhanced Container Isolation can prevent container attacks. </p>
</div>
</div>
</div>
</div>
<div class="component-container">
<!--start row-->
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-6 block">
<div class="component">
<div class="component-icon">
<a href="/desktop/hardened-desktop/registry-access-management/"><img src="/assets/images/registry.svg" alt="Hardened Docker Desktop" width="70" height="70"></a>
</div>
<h2 id="hardened-desktop"><a href="/desktop/hardened-desktop/registry-access-management/">Registry Access Management</a></h2>
<p>Control the registries developers can access while using Docker Desktop.</p>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-6 block">
<div class="component">
<div class="component-icon">
<a href="/docker-hub/image-access-management/"><img src="/assets/images/image-access.svg" alt="Hardened Docker Desktop" width="70" height="70"></a>
</div>
<h2 id="hardened-desktop"><a href="/docker-hub/image-access-management/">Image Access Management</a></h2>
<p>Control the images developers can pull from Docker Hub.</p>
</div>
</div>
</div>

View File

@ -152,9 +152,9 @@ This means that the root user in the container (0) is in fact the root user in t
Since Enhanced Container Isolation [uses the Sysbox container runtime](how-eci-works.md) embedded in the Docker Desktop Linux VM, another way to determine if a container is running with Enhanced Container Isolation is by using `docker inspect`: Since Enhanced Container Isolation [uses the Sysbox container runtime](how-eci-works.md) embedded in the Docker Desktop Linux VM, another way to determine if a container is running with Enhanced Container Isolation is by using `docker inspect`:
{% highlight liquid %} ```console
docker inspect --format='{{.HostConfig.Runtime}}' my_container $ docker inspect --format='{{.HostConfig.Runtime}}' my_container
{% endhighlight %} ```
It outputs: It outputs:

View File

@ -31,10 +31,10 @@ and architectures:
| Platform | x86_64 / amd64 | | Platform | x86_64 / amd64 |
|:------------------------|:-----------------------| |:-----------------------|:-----------------------:|
| [Ubuntu](ubuntu.md) | [{{% param "yes" %}}](ubuntu.md) | | [Ubuntu](ubuntu.md) | |
| [Debian](debian.md) | [{{% param "yes" %}}](debian.md) | | [Debian](debian.md) | |
| [Fedora](fedora.md) | [{{% param "yes" %}}](fedora.md) | | [Fedora](fedora.md) | |
An experimental package is available for [Arch](archlinux.md)-based distributions. Docker has not tested or verified the installation. An experimental package is available for [Arch](archlinux.md)-based distributions. Docker has not tested or verified the installation.

View File

@ -46,7 +46,7 @@ This page contains download URLs, information about system requirements, and ins
{{< /tab >}} {{< /tab >}}
{{< tab name="Mac with Apple silicon" >}} {{< tab name="Mac with Apple silicon" >}}
- Beginning with Docker Desktop 4.3.0, we have removed the hard requirement to install Rosetta 2. There are a few optional command line tools that still require Rosetta 2 when using Darwin/AMD64. See [Known issues](../troubleshoot/known-issues.md). However, to get the best experience, we recommend that you install Rosetta 2. To install Rosetta 2 manually from the command line, run the following command: Beginning with Docker Desktop 4.3.0, we have removed the hard requirement to install Rosetta 2. There are a few optional command line tools that still require Rosetta 2 when using Darwin/AMD64. See [Known issues](../troubleshoot/known-issues.md). However, to get the best experience, we recommend that you install Rosetta 2. To install Rosetta 2 manually from the command line, run the following command:
```console ```console
$ softwareupdate --install-rosetta $ softwareupdate --install-rosetta

View File

@ -19,7 +19,7 @@ This page contains release notes for Docker Desktop for Windows 3.x.
> >
> >
> >
> [For Windows](https://desktop.docker.com/win/stable/amd64/67351/Docker Desktop Installer.exe) > [For Windows](https://desktop.docker.com/win/stable/amd64/67351/Docker%20Desktop%20Installer.exe)
### New ### New