From 5b5a4424d0a182204f9ec5fc9508d50755d25e9c Mon Sep 17 00:00:00 2001 From: tatref Date: Mon, 27 Dec 2021 16:30:40 +0100 Subject: [PATCH 1/4] Fix bridge example --- network/bridge.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/network/bridge.md b/network/bridge.md index af1177fddb..a1cd2b462c 100644 --- a/network/bridge.md +++ b/network/bridge.md @@ -219,11 +219,11 @@ the settings you need to customize. ```json { - "bip": "192.168.1.5/24", - "fixed-cidr": "192.168.1.5/25", + "bip": "192.168.1.1/24", + "fixed-cidr": "192.168.1.0/25", "fixed-cidr-v6": "2001:db8::/64", "mtu": 1500, - "default-gateway": "10.20.1.1", + "default-gateway": "192.168.1.254", "default-gateway-v6": "2001:db8:abcd::89", "dns": ["10.20.1.2","10.20.1.3"] } From e9d0a55d28721bda09ecfc43e5efbb829f214045 Mon Sep 17 00:00:00 2001 From: Roldel <38661724+roldel@users.noreply.github.com> Date: Mon, 3 Jan 2022 06:06:02 +0000 Subject: [PATCH 2/4] ADD env variables to db container FIX Error: Database is uninitialized and superuser password is not specified. Env vars needs to be defined in both the "db" and "web" containers In "db", so it can create the default user from it In "web", so it can be used in settings.py to connect django to the postgres container --- samples/django.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/samples/django.md b/samples/django.md index affb33805c..811e907a57 100644 --- a/samples/django.md +++ b/samples/django.md @@ -75,6 +75,10 @@ and a `docker-compose.yml` file. (You can use either a `.yml` or `.yaml` extensi image: postgres volumes: - ./data/db:/var/lib/postgresql/data + environment: + - POSTGRES_NAME=postgres + - POSTGRES_USER=postgres + - POSTGRES_PASSWORD=postgres web: build: . command: python manage.py runserver 0.0.0.0:8000 From f413d25dbafda880a7d1e2854d24ff0b9faae0d5 Mon Sep 17 00:00:00 2001 From: KY-7 Date: Sat, 8 Jan 2022 14:26:39 +0000 Subject: [PATCH 3/4] incorrect download link For example: /download/v2.2.3/ (correct) instead of /download/2.2.3/ (incorrect) --- compose/install.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compose/install.md b/compose/install.md index 1997229f9c..31dee674e9 100644 --- a/compose/install.md +++ b/compose/install.md @@ -98,7 +98,7 @@ on Microsoft Windows Server and want to install Docker Compose. Compose (v{{site.compose_version}}): ```powershell - Invoke-WebRequest "https://github.com/docker/compose/releases/download/{{site.compose_version}}/docker-compose-Windows-x86_64.exe" -UseBasicParsing -OutFile $Env:ProgramFiles\Docker\docker-compose.exe + Invoke-WebRequest "https://github.com/docker/compose/releases/download/v{{site.compose_version}}/docker-compose-Windows-x86_64.exe" -UseBasicParsing -OutFile $Env:ProgramFiles\Docker\docker-compose.exe ``` **Note**: On Windows Server 2019, you can add the Compose executable to `$Env:ProgramFiles\Docker`. Because this directory is registered in the system `PATH`, you can run the `docker-compose --version` command on the subsequent step with no additional configuration. @@ -132,7 +132,7 @@ also included below. 1. Run this command to download the current stable release of Docker Compose: ```console - $ sudo curl -L "https://github.com/docker/compose/releases/download/{{site.compose_version}}/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose + $ sudo curl -L "https://github.com/docker/compose/releases/download/v{{site.compose_version}}/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose ``` > To install a different version of Compose, substitute `{{site.compose_version}}` From 76a3b68002592bca94602182c7b3e43c6bee15a4 Mon Sep 17 00:00:00 2001 From: Mathieu Champlon Date: Fri, 14 Jan 2022 11:25:57 +0100 Subject: [PATCH 4/4] Add release notes for Desktop 4.4.3 --- desktop/windows/release-notes/index.md | 43 ++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/desktop/windows/release-notes/index.md b/desktop/windows/release-notes/index.md index d0ef41999e..be253a7464 100644 --- a/desktop/windows/release-notes/index.md +++ b/desktop/windows/release-notes/index.md @@ -19,8 +19,8 @@ This page contains information about the new features, improvements, known issue Take a look at the [Docker Public Roadmap](https://github.com/docker/roadmap/projects/1){: target="_blank" rel="noopener" class="_"} to see what's coming next. -## Docker Desktop 4.4.2 -2022-01-13 +## Docker Desktop 4.4.3 +2022-01-14 > Download Docker Desktop > @@ -49,6 +49,45 @@ This only affects users if they are on Docker Desktop 4.3.0, 4.3.1 and the user ### Bug fixes and minor changes +- Docker Desktop displays an error if `registry.json` contains more than one organization in the `allowedOrgs` field. If you are using multiple organizations for different groups of developers, you must provision a separate `registry.json` file for each group. +- Fixed a regression in Compose that reverted the container name separator from `-` to `_`. Fixes [docker/compose-switch](https://github.com/docker/compose-switch/issues/24). +- Doing a `Reset to factory defaults` no longer shuts down Docker Desktop. +- Disabled Dashboard shortcuts to prevent capturing them even when minimized or un-focussed. Fixes [docker/for-win#12495](https://github.com/docker/for-win/issues/12495). + +### Known issues + +- Clicking «Proceed to Desktop» after logging in in the browser, sometimes does not bring the Dashboard to the front. +- After logging in, when the Dashboard receives focus, it sometimes stays in the foreground even when clicking a background window. As a workaround you need to click the Dashboard before clicking another application window. +- The tips of the week show on top of the mandatory login dialog when an organization restriction is enabled via a `registry.json` file. + +## Docker Desktop 4.4.2 +2022-01-13 + +> Download Docker Desktop +> +> [For Windows](https://desktop.docker.com/win/main/amd64/73305/Docker%20Desktop%20Installer.exe) + +### Security + +- Fixed [CVE-2021-45449](https://docs.docker.com/security/#cve-2021-45449) that affects users currently on Docker Desktop version 4.3.0 or 4.3.1. + +Docker Desktop version 4.3.0 and 4.3.1 has a bug that may log sensitive information (access token or password) on the user's machine during login. +This only affects users if they are on Docker Desktop 4.3.0, 4.3.1 and the user has logged in while on 4.3.0, 4.3.1. Gaining access to this data would require having access to the user’s local files. + +### New + +- Easy, Secure sign in with Auth0 and Single Sign-on + - Single Sign-on: Users with a Docker Business subscription can now configure SSO to authenticate using their identity providers (IdPs) to access Docker. For more information, see [Single Sign-on](../../../single-sign-on/index.md). + - Signing in to Docker Desktop now takes you through the browser so that you get all the benefits of auto-filling from password managers. + +### Upgrades + +- [Docker Engine v20.10.12](https://docs.docker.com/engine/release-notes/#201012) +- [Compose v2.2.3](https://github.com/docker/compose/releases/tag/v2.2.3) +- [Kubernetes 1.22.5](https://github.com/kubernetes/kubernetes/releases/tag/v1.22.5) + +### Bug fixes and minor changes + - Docker Desktop displays an error if `registry.json` contains more than one organization in the `allowedOrgs` field. If you are using multiple organizations for different groups of developers, you must provision a separate `registry.json` file for each group. - Fixed a regression in Compose that reverted the container name separator from `-` to `_`. Fixes [docker/compose-switch](https://github.com/docker/compose-switch/issues/24). - Doing a `Reset to factory defaults` no longer shuts down Docker Desktop.