Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error unknown flag: --progress when run make #362

Open
imurata opened this issue May 10, 2024 · 3 comments
Open

Error unknown flag: --progress when run make #362

imurata opened this issue May 10, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@imurata
Copy link

imurata commented May 10, 2024

Describe the bug

When I run make I get the following error.

docker build --progress plain --platform linux/arm64 -t localhost:5001/educates-session-manager:latest session-manager
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

unknown flag: --progress
See 'docker build --help'.
make: *** [build-session-manager] Error 125

The reason is I'm using Docker latest and there is not --progress option for docker build.

Additional information

No response

@imurata imurata added the bug Something isn't working label May 10, 2024
@GrahamDumpleton
Copy link
Contributor

What do you get when running:

docker version

@imurata
Copy link
Author

imurata commented May 12, 2024

It fails in each of the Mac and Linux environments at hand.

Mac:

docker version
Client:
 Version:           26.1.0
 API version:       1.41 (downgraded from 1.45)
 Go version:        go1.21.9
 Git commit:        9714adc
 Built:             Mon Apr 22 17:04:03 2024
 OS/Arch:           darwin/amd64 (rosetta)
 Context:           default

Server: linux/arm64/fedora-39
 Podman Engine:
  Version:          5.0.2
  APIVersion:       5.0.2
  Arch:             arm64
  BuildTime:        2024-04-17T09:00:00+09:00
  Experimental:     false
  GitCommit:
  GoVersion:        go1.21.9
  KernelVersion:    6.8.4-200.fc39.aarch64
  MinAPIVersion:    4.0.0
  Os:               linux
 Conmon:
  Version:          conmon version 2.1.10, commit:
  Package:          conmon-2.1.10-1.fc39.aarch64
 OCI Runtime (crun):
  Version:          crun version 1.14.4
commit: a220ca661ce078f2c37b38c92e66cf66c012d9c1
rundir: /run/crun
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +LIBKRUN +WASM:wasmedge +YAJL
  Package:          crun-1.14.4-1.fc39.aarch64
 Engine:
  Version:          5.0.2
  API version:      1.41 (minimum version 1.24)
  Go version:       go1.21.9
  Git commit:
  Built:            Wed Apr 17 09:00:00 2024
  OS/Arch:          linux/arm64
  Experimental:     false

Linux:

 docker version
Client:
 Version:           24.0.5
 API version:       1.43
 Go version:        go1.20.3
 Git commit:        24.0.5-0ubuntu1~22.04.1
 Built:             Mon Aug 21 19:50:14 2023
 OS/Arch:           linux/amd64
 Context:           default

Server:
 Engine:
  Version:          24.0.5
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.3
  Git commit:       24.0.5-0ubuntu1~22.04.1
  Built:            Mon Aug 21 19:50:14 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.2
  GitCommit:
 runc:
  Version:          1.1.7-0ubuntu1~22.04.2
  GitCommit:
 docker-init:
  Version:          0.19.0
  GitCommit:

@GrahamDumpleton
Copy link
Contributor

Can you try installing the docker buildx component as per message and link? I believe it will use that if installed and that may eliminate the issue, plus it is needed anyway to do cross compilation I think.

Note that although you say you are using latest docker, you are actually on an old version for Linux at least. On macOS for me it reports version 26.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

2 participants