Update 2025. All the older posts are currently not working with the newer version of Docker. I am in Windows 11 Pro (not using WSL2).
Docker Version
Client:
Version: 28.2.2
API version: 1.50
Go version: go1.24.3
Git commit: e6534b4
Built: Fri May 30 12:07:16 2025
OS/Arch: windows/amd64
Context: desktop-linux
Server: Docker Desktop 4.42.1 (196648)
Engine:
Version: 28.2.2
API version: 1.50 (minimum version 1.24)
Go version: go1.24.3
Git commit: 45873be
Built: Fri May 30 12:07:26 2025
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.27
GitCommit: 05044ec0a9a75232cad458027ca83437aae3f4da
runc:
Version: 1.2.5
GitCommit: v1.2.5-0-g59923ef
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Current Docker Context list
docker context ls
NAME DESCRIPTION DOCKER ENDPOINT ERROR
default Current DOCKER_HOST based configuration npipe:////./pipe/docker_engine
desktop-linux * Docker Desktop npipe:////./pipe/dockerDesktopLinuxEngine
AWS version
aws-cli/2.27.45 Python/3.13.4 Windows/11 exe/AMD64
AWS Login
aws ecr get-login-password --region eu-central-1 | docker login --username AWS --password-stdin 092154752289.dkr.ecr.eu-central-1.amazonaws.com
Login Succeeded
Docker context create
docker context create ecs myecscontext
docker: 'docker context create' requires 1 argument
Usage: docker context create [OPTIONS] CONTEXT
Run 'docker context create --help' for more information
I didn't find any resources about this problem on the Windows platform. Any recommendations?