-
Please run below command on the agent machine to see if it works:
docker buildx build --builder onedev --pull . --push -t <image tag>If it works, please stop agent container, install bare metal agent (check the + button on agents page for bare metal mode), and run it in console mode from the same terminal where you've successfully run above command. Then test if it works.
-
If builder
onedevdoes not exist before testing the buildx build command, create it by runningdocker buildx create --name onedev. Also run the buildx build command from the directory containing a Dockerfile. -
After checking my server and the logs I found out that my swag container always ban the docker agent container. It´s not directly swag... more fail2ban from swag 😟 . I've changed the fail2ban configuration and whitelist the agent. Now everything works again. Thanks for the fast response 👍
-
Name Previous Value Current Value Type
Bug
Improvement
-
Name Previous Value Current Value Priority
Major
Minor
-
Closed cause of server issues. OneDev does not have any problems.
-
Previous Value Current Value Open
Closed
| Type |
Improvement
|
| Priority |
Minor
|
| Assignee | |
| Labels |
No labels
|
I am not sure if it´s cause of server changing or it´s the last update of onedev. I can´t run a docker build command on my runner anymore. The runner is successfully registered on my self hosted server. The pipeline all run clean some days/weeks ago. But when I run now the runner I go these errors:
Here ist the "Build" step configuration:
What I've tried
I tried to deactivate the buildkit with the
commandflag:/bin/sh -c export DOCKER_BUILDKIT=0 && exec /root/bin/entrypoint.sh. And I've tried to set theprivileged: trueflag but both dosen`t work.Version
Both the server and the agent run on latest image. For server it is now 14.1.3.