-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[Bug]:/usr/bin/docker: Argument list too long #6993
Comments
Jira ticket: AR-2431 |
Please provide full command. |
Just ./compile.sh docker-shell |
What needs to be done now is to shorten the length of the docker run command. Perhaps you can consider using docker compose. |
Docker is used automatically (if installed on host) and docker-shell is, IIRC, deprecated. |
I also got the same error when using docker automatic mode. ./compile.sh docker BOARD=baicai-h6-pro BRANCH=current BUILD_DESKTOP=yes BUILD_MINIMAL=no DESKTOP_APPGROUPS_SELECTED='browsers chat desktop_tools editors email internet multimedia office programming remote_desktop' DESKTOP_ENVIRONMENT=xfce DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base KERNEL_CONFIGURE=yes RELEASE=noble |
Try this way - (without docker command) ./compile.sh BOARD=baicai-h6-pro BRANCH=current BUILD_DESKTOP=yes BUILD_MINIMAL=no DESKTOP_APPGROUPS_SELECTED='browsers chat desktop_tools editors email internet multimedia office programming remote_desktop' DESKTOP_ENVIRONMENT=xfce DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base KERNEL_CONFIGURE=yes RELEASE=noble |
I'm very sorry, I'm using Ubuntu 24.04 which is not supported, I can only compile using docker. |
I use openSUSE and run in QEMU\KVM+ Virtual Machine Manager |
I tested it and found that it can be compiled successfully without installing Docker in Ubuntu 22.04. But it is undeniable that there is still a problem with the Docker run command. |
No, there are no problems with Docker. Just documentation is outdated. If you have Docker installed, it will use it. If you don't have it, it will tell you that (warning), but also try to build. We are already testing 24.04 and most of things can be compiled. |
If I compile with docker, I just get /usr/bin/docker: Argument list too long. what currently need is to split the long docker run command to solve the problem. |
Does this works for you:
|
It seems that the instructions do not add docker. As long as docker is not used, the compilation can be completed on Ubuntu 22.04. |
Can you provide logs for this build? |
I can't test it yet, but I seem to have found a log file that compiled without docker on ubuntu 22.04. I just want to report that the docker instructions are too long, not that I can't compile at all. Log when using docker compilation |
I can't reproduce or see the problem. It works here, our CI works fine. Lets keep this open if someone else come up with some ideas. |
i can't reproduce your problem, on my host work correctly |
What happened?
🌱] Socket /run/user/1000/keyring/ssh [ SSH agent forwarding into Docker ]
[🌱] Launching Docker shell [ docker-shell ]
/home/zelly/桌面/armbian-build/build/lib/functions/cli/cli-docker.sh: 行 80: /usr/bin/docker: 参数列表过长
[💥] Error 126 occurred in main shell [ at /home/zelly/桌面/armbian-build/build/lib/functions/cli/cli-docker.sh:80
cli_docker_run() --> lib/functions/cli/cli-docker.sh:80
armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136
cli_entrypoint() --> lib/functions/cli/entrypoint.sh:176
main() --> ./compile.sh:50
]
[💥] Cleaning up [ please wait for cleanups to finish ]
How to reproduce?
Use Docker to Build
Branch
main (main development branch)
On which host OS are you running the build script and observing this problem?
Ubuntu 24.04 Noble
Are you building on Windows WSL2?
Relevant log URL
https://paste.armbian.com/pikunapaka
Code of Conduct
The text was updated successfully, but these errors were encountered: