You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing Docker Dashboard on a fresh Macbook M1 Max, when I try to run a docker compose command with a -f PATH_TO_FILE from the command line, docker fails with the following error:
unknown shorthand flag: 'f' in -f
Examples:
unknown shorthand flag: 'f' in -f
See 'docker --help'.
Reproduce
Fresh install Docker Dashboard on a Macbook. (make sure you do NOT have docker-compose installed).
create a valid compose file (example attached)
run docker compose -f path/to/your/compose.yaml up -d
Expected behavior
I expect the stack is created. But instead I get the error in the title.
docker version
Client:
Cloud integration: v1.0.33
Version: 24.0.2
API version: 1.43
Go version: go1.20.4
Git commit: cb74dfc
Built: Thu May 25 21:51:16 2023
OS/Arch: darwin/arm64
Context: default
Server: Docker Desktop 4.20.1 (110738)
Engine:
Version: 24.0.2
API version: 1.43 (minimum version 1.12)
Go version: go1.20.4
Git commit: 659604f
Built: Thu May 25 21:50:59 2023
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: 1.6.21
GitCommit: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc:
Version: 1.1.7
GitCommit: v1.1.7-0-g860f061
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Description
After installing Docker Dashboard on a fresh Macbook M1 Max, when I try to run a
docker compose
command with a-f PATH_TO_FILE
from the command line, docker fails with the following error:unknown shorthand flag: 'f' in -f
Examples:
Reproduce
docker-compose
installed).docker compose -f path/to/your/compose.yaml up -d
Expected behavior
I expect the stack is created. But instead I get the error in the title.
docker version
Client: Cloud integration: v1.0.33 Version: 24.0.2 API version: 1.43 Go version: go1.20.4 Git commit: cb74dfc Built: Thu May 25 21:51:16 2023 OS/Arch: darwin/arm64 Context: default Server: Docker Desktop 4.20.1 (110738) Engine: Version: 24.0.2 API version: 1.43 (minimum version 1.12) Go version: go1.20.4 Git commit: 659604f Built: Thu May 25 21:50:59 2023 OS/Arch: linux/arm64 Experimental: false containerd: Version: 1.6.21 GitCommit: 3dce8eb055cbb6872793272b4f20ed16117344f8 runc: Version: 1.1.7 GitCommit: v1.1.7-0-g860f061 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Diagnostics ID
196C0AA9-CD1A-4199-A837-18652F38700A/20230613163359
Additional Info
No response
The text was updated successfully, but these errors were encountered: