mirror of https://github.com/docker/docs.git
Merge pull request #13975 from docker/master
Publish updates from master
This commit is contained in:
commit
eedefd03b5
|
|
@ -243,9 +243,19 @@ The `development`target uses a `golang:1.16-alpine` image with all dependencies
|
|||
|
||||
In our example, the Docker Compose files are the same. However, they could be different and the services defined in the main Compose file may use other targets to build or directly reference other images.
|
||||
|
||||
## Specify a Dockerfile
|
||||
|
||||
In this preview, Dev Environments support a JSON file which allows you to specify a Dockerfile to define your Dev Environment. You must include this as part of the `.docker` folder and then add it as a `config.json` file. For example:
|
||||
|
||||
```jsx
|
||||
{
|
||||
"dockerfile": "Dockerfile.devenv"
|
||||
}
|
||||
```
|
||||
|
||||
## Specify a base image
|
||||
|
||||
In this preview, Dev Environments support a simple YAML file which allows you to specify the base image that you would like to use as part of your Dev Environment. You must include this as part of the `.docker` folder and then add it as a `config.json` file. For example, to use the Jekyll base image, add:
|
||||
If you already have an image built, you can specify it as a base image to define your Dev Environment. You must include this as part of the `.docker` folder and then add it as a `config.json` file. For example, to use the Jekyll base image, add:
|
||||
|
||||
```jsx
|
||||
{
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ blog post [Apache Log4j 2 CVE-2021-44228](https://www.docker.com/blog/apache-log
|
|||
|
||||
### Bug fixes and minor changes
|
||||
|
||||
- Docker Desktop on Apple silicon no longer requires Rosetta 2.
|
||||
- Docker Desktop on Apple silicon no longer requires Rosetta 2, with the exception of [three optional command line tools](../apple-silicon/#known-issues).
|
||||
- Fixed an issue which prevented users from saving files from a volume using the Save As option in the Volumes UI. Fixes [docker/for-win#12407](https://github.com/docker/for-win/issues/12407).
|
||||
- Fixed an issue that sometimes launched the existing version of Docker Desktop even after updating to a newer version.
|
||||
- Added a self-diagnose warning if the host lacks Internet connectivity.
|
||||
|
|
@ -72,6 +72,14 @@ blog post [Apache Log4j 2 CVE-2021-44228](https://www.docker.com/blog/apache-log
|
|||
- Ensure your version of `systemd` supports cgroupv2. [It must be at least `systemd` 247](https://github.com/systemd/systemd/issues/19760#issuecomment-851565075). Consider upgrading any `centos:7` images to `centos:8`.
|
||||
- Containers running `systemd` need the following options: [`--privileged --cgroupns=host -v /sys/fs/cgroup:/sys/fs/cgroup:rw`](https://serverfault.com/questions/1053187/systemd-fails-to-run-in-a-docker-container-when-using-cgroupv2-cgroupns-priva).
|
||||
|
||||
### Known issue
|
||||
|
||||
Docker Dashboard incorrectly displays the container memory usage as zero.
|
||||
You can use the [`docker stats`](../../../engine/reference/commandline/stats.md)
|
||||
command on the command line as a workaround to view the
|
||||
actual memory usage. See
|
||||
[docker/for-mac#6076](https://github.com/docker/for-mac/issues/6076).
|
||||
|
||||
### Deprecation
|
||||
|
||||
- The following internal DNS names are deprecated and will be removed from a future release: `docker-for-desktop`, `docker-desktop`, `docker.for.mac.host.internal`, `docker.for.mac.localhost`, `docker.for.mac.gateway.internal`. You must now use `host.docker.internal`, `vm.docker.internal`, and `gateway.docker.internal`.
|
||||
|
|
|
|||
|
|
@ -274,19 +274,19 @@ in the Apple documentation, and Docker Desktop [Mac system requirements](install
|
|||
|
||||
* Some VPN clients can prevent the VM running Docker from communicating with the host, preventing Docker Desktop starting correctly. See [docker/for-mac#5208](https://github.com/docker/for-mac/issues/5208).
|
||||
|
||||
This is an interaction between `vmnet.framework` (as used by `virtualization.framework` in Big Sur) and the VPN clients.
|
||||
This is an interaction between `vmnet.framework` (as used by `virtualization.framework`) and the VPN clients.
|
||||
|
||||
* Docker Desktop is incompatible with macOS Internet Sharing. See [docker/for-mac#5348](https://github.com/docker/for-mac/issues/5348).
|
||||
|
||||
This is an interaction between `vmnet.framework` (as used by `virtualization.framework` in Big Sur) and macOS Internet Sharing. At the moment it is not possible to use Docker Desktop and macOS Internet Sharing at the same time.
|
||||
This is an interaction between `vmnet.framework` (as used by `virtualization.framework`) and macOS Internet Sharing. At the moment it is not possible to use Docker Desktop and macOS Internet Sharing at the same time.
|
||||
|
||||
* Some container disk I/O is much slower than expected. See [docker/for-mac#5389](https://github.com/docker/for-mac/issues/5389). Disk flushes are particularly slow due to the need to guarantee data is written to stable storage on the host.
|
||||
* Some container disk I/O is much slower than expected. See [docker/for-mac#5389](https://github.com/docker/for-mac/issues/5389). Disk flushes are particularly slow due to the need to guarantee data is written to stable storage on the host. We have also observed specific performance problems when using the `virtualization.framework` on Intel chips on MacOS Monterey.
|
||||
|
||||
This is an artifact of the new `virtualization.framework` in Big Sur.
|
||||
This is an artifact of the new `virtualization.framework`.
|
||||
|
||||
* TCP and UDP port 53 (DNS) are bound on the host when Docker Desktop starts. Therefore you cannot bind to port 53 on all interfaces with a command like `docker run -p 53:53`. See [docker/for-mac#5335](https://github.com/docker/for-mac/issues/5335).
|
||||
|
||||
This is an artifact of the new `virtualization.framework` in Big Sur. A workaround is to bind to a specific IP address e.g. `docker run -p 127.0.0.1:53:53`.
|
||||
This is an artifact of the new `virtualization.framework`. A workaround is to bind to a specific IP address e.g. `docker run -p 127.0.0.1:53:53`.
|
||||
|
||||
* The Linux Kernel may occasionally crash. Docker now detects this problem and pops up an error dialog offering the user the ability to quickly restart Linux.
|
||||
|
||||
|
|
|
|||
|
|
@ -73,6 +73,15 @@ CVE-2021-44228](https://www.docker.com/blog/apache-log4j-2-cve-2021-44228/){: ta
|
|||
--cgroupns=host -v
|
||||
/sys/fs/cgroup:/sys/fs/cgroup:rw`](https://serverfault.com/questions/1053187/systemd-fails-to-run-in-a-docker-container-when-using-cgroupv2-cgroupns-priva).
|
||||
|
||||
### Known issue
|
||||
|
||||
Docker Dashboard incorrectly displays the container memory usage as zero on
|
||||
Hyper-V based machines.
|
||||
You can use the [`docker stats`](../../../engine/reference/commandline/stats.md)
|
||||
command on the command line as a workaround to view the
|
||||
actual memory usage. See
|
||||
[docker/for-mac#6076](https://github.com/docker/for-mac/issues/6076).
|
||||
|
||||
### Deprecation
|
||||
|
||||
- The following internal DNS names are deprecated and will be removed from a future release: `docker-for-desktop`, `docker-desktop`, `docker.for.mac.host.internal`, `docker.for.mac.localhost`, `docker.for.mac.gateway.internal`. You must now use `host.docker.internal`, `vm.docker.internal`, and `gateway.docker.internal`.
|
||||
|
|
|
|||
Loading…
Reference in New Issue