Merge pull request #14114 from docker/master

Publish updates from master
This commit is contained in:
Usha Mandya 2022-01-14 21:59:39 +05:30 committed by GitHub
commit 0a9a3b422d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 50 additions and 7 deletions

View File

@ -98,7 +98,7 @@ on Microsoft Windows Server and want to install Docker Compose.
Compose (v{{site.compose_version}}): Compose (v{{site.compose_version}}):
```powershell ```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. **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: 1. Run this command to download the current stable release of Docker Compose:
```console ```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}}` > To install a different version of Compose, substitute `{{site.compose_version}}`

View File

@ -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. 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 ## Docker Desktop 4.4.3
2022-01-13 2022-01-14
> Download Docker Desktop > 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 ### 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 users 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. - 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). - 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. - Doing a `Reset to factory defaults` no longer shuts down Docker Desktop.

View File

@ -219,11 +219,11 @@ the settings you need to customize.
```json ```json
{ {
"bip": "192.168.1.5/24", "bip": "192.168.1.1/24",
"fixed-cidr": "192.168.1.5/25", "fixed-cidr": "192.168.1.0/25",
"fixed-cidr-v6": "2001:db8::/64", "fixed-cidr-v6": "2001:db8::/64",
"mtu": 1500, "mtu": 1500,
"default-gateway": "10.20.1.1", "default-gateway": "192.168.1.254",
"default-gateway-v6": "2001:db8:abcd::89", "default-gateway-v6": "2001:db8:abcd::89",
"dns": ["10.20.1.2","10.20.1.3"] "dns": ["10.20.1.2","10.20.1.3"]
} }

View File

@ -75,6 +75,10 @@ and a `docker-compose.yml` file. (You can use either a `.yml` or `.yaml` extensi
image: postgres image: postgres
volumes: volumes:
- ./data/db:/var/lib/postgresql/data - ./data/db:/var/lib/postgresql/data
environment:
- POSTGRES_NAME=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
web: web:
build: . build: .
command: python manage.py runserver 0.0.0.0:8000 command: python manage.py runserver 0.0.0.0:8000