Does not have permissions to create files, etc
CyberDudeJ opened this issue · 2 comments
CyberDudeJ commented
root@cornhub:~/gitea_act# docker-compose up
[+] Running 1/0
✔ Container gitea_act-gitea_act_runner-1 Recreated 0.0s
Attaching to gitea_act-gitea_act_runner-1
gitea_act-gitea_act_runner-1 | _____ _ _ _ _____
gitea_act-gitea_act_runner-1 | / ____(_) | /\ | | | __ \
gitea_act-gitea_act_runner-1 | | | __ _| |_ ___ __ _ / \ ___| |_ | |__) | _ _ __ _ __ ___ _ __
gitea_act-gitea_act_runner-1 | | | |_ | | __/ _ \/ _` | / /\ \ / __| __| | _ / | | | '_ \| '_ \ / _ \ '__|
gitea_act-gitea_act_runner-1 | | |__| | | || __/ (_| | / ____ \ (__| |_ | | \ \ |_| | | | | | | | __/ |
gitea_act-gitea_act_runner-1 | \_____|_|\__\___|\__,_| /_/ \_\___|\__| |_| \_\__,_|_| |_|_| |_|\___|_|
gitea_act-gitea_act_runner-1 |
gitea_act-gitea_act_runner-1 | GIT_REPO: https://github.com/vegardit/docker-gitea-act-runner
gitea_act-gitea_act_runner-1 | GIT_BRANCH: main
gitea_act-gitea_act_runner-1 | GIT_COMMIT: 55af759 @ 2024-04-17 09:40:01 UTC
gitea_act-gitea_act_runner-1 | IMAGE_BUILD: 2024-05-08T17:10:37Z
gitea_act-gitea_act_runner-1 |
gitea_act-gitea_act_runner-1 |
gitea_act-gitea_act_runner-1 |
gitea_act-gitea_act_runner-1 | 2024-05-12 22:15:21 INFO [/opt/run.sh:26] act_runner version v0.2.10
gitea_act-gitea_act_runner-1 | 2024-05-12 22:15:21 INFO [/opt/run.sh:27] Timezone: BST +0100
gitea_act-gitea_act_runner-1 | 2024-05-12 22:15:21 INFO [/opt/run.sh:28] Hostname: 08cb49430981
gitea_act-gitea_act_runner-1 | 2024-05-12 22:15:21 INFO [/opt/run.sh:29] IP Addresses:
gitea_act-gitea_act_runner-1 | - 192.168.48.2
gitea_act-gitea_act_runner-1 | 2024-05-12 22:15:21 INFO [/opt/run.sh:31] Config environment variables:
gitea_act-gitea_act_runner-1 | - GITEA_INSTANCE_URL=https://git.phemius.net
gitea_act-gitea_act_runner-1 | - GITEA_RUNNER_CONFIG_TEMPLATE_FILE=/opt/config.template.yaml
gitea_act-gitea_act_runner-1 | - GITEA_RUNNER_GID=1000
gitea_act-gitea_act_runner-1 | - GITEA_RUNNER_LABELS=
gitea_act-gitea_act_runner-1 | - GITEA_RUNNER_LABELS_DEFAULT=ubuntu-latest:docker://catthehacker/ubuntu:act-22.04,ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04,ubuntu-20.04:docker://catthehacker/ubuntu:act-20.04
gitea_act-gitea_act_runner-1 | - GITEA_RUNNER_NAME=git.phemius
gitea_act-gitea_act_runner-1 | - GITEA_RUNNER_REGISTRATION_RETRY_INTERVAL=5s
gitea_act-gitea_act_runner-1 | - GITEA_RUNNER_REGISTRATION_TIMEOUT=30
gitea_act-gitea_act_runner-1 | - GITEA_RUNNER_REGISTRATION_TOKEN=******
gitea_act-gitea_act_runner-1 | - GITEA_RUNNER_UID=1000
gitea_act-gitea_act_runner-1 | 2024-05-12 22:15:21 INFO [/opt/run.sh:65] Starting Docker engine...
gitea_act-gitea_act_runner-1 | Starting Docker: docker
gitea_act-gitea_act_runner-1 | .
gitea_act-gitea_act_runner-1 | 2024-05-12 22:15:21 INFO [/opt/run.sh:70] Waiting for Docker engine to start...
gitea_act-gitea_act_runner-1 | time="2024-05-12T21:15:23.168305039Z" level=info msg="API listen on /var/run/docker.sock"
gitea_act-gitea_act_runner-1 | ===========================================================
gitea_act-gitea_act_runner-1 | Client: Docker Engine - Community
gitea_act-gitea_act_runner-1 | Version: 26.1.1
gitea_act-gitea_act_runner-1 | Context: default
gitea_act-gitea_act_runner-1 | Debug Mode: false
gitea_act-gitea_act_runner-1 |
gitea_act-gitea_act_runner-1 | Server:
gitea_act-gitea_act_runner-1 | Containers: 0
gitea_act-gitea_act_runner-1 | Running: 0
gitea_act-gitea_act_runner-1 | Paused: 0
gitea_act-gitea_act_runner-1 | Stopped: 0
gitea_act-gitea_act_runner-1 | Images: 0
gitea_act-gitea_act_runner-1 | Server Version: 26.1.1
gitea_act-gitea_act_runner-1 | Storage Driver: overlay2
gitea_act-gitea_act_runner-1 | Backing Filesystem: extfs
gitea_act-gitea_act_runner-1 | Supports d_type: true
gitea_act-gitea_act_runner-1 | Using metacopy: false
gitea_act-gitea_act_runner-1 | Native Overlay Diff: true
gitea_act-gitea_act_runner-1 | userxattr: false
gitea_act-gitea_act_runner-1 | Logging Driver: json-file
gitea_act-gitea_act_runner-1 | Cgroup Driver: cgroupfs
gitea_act-gitea_act_runner-1 | Cgroup Version: 2
gitea_act-gitea_act_runner-1 | Plugins:
gitea_act-gitea_act_runner-1 | Volume: local
gitea_act-gitea_act_runner-1 | Network: bridge host ipvlan macvlan null overlay
gitea_act-gitea_act_runner-1 | Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
gitea_act-gitea_act_runner-1 | Swarm: inactive
gitea_act-gitea_act_runner-1 | Runtimes: io.containerd.runc.v2 runc
gitea_act-gitea_act_runner-1 | Default Runtime: runc
gitea_act-gitea_act_runner-1 | Init Binary: docker-init
gitea_act-gitea_act_runner-1 | containerd version: e377cd56a71523140ca6ae87e30244719194a521
gitea_act-gitea_act_runner-1 | runc version: v1.1.12-0-g51d5e94
gitea_act-gitea_act_runner-1 | init version: de40ad0
gitea_act-gitea_act_runner-1 | Security Options:
gitea_act-gitea_act_runner-1 | apparmor
gitea_act-gitea_act_runner-1 | seccomp
gitea_act-gitea_act_runner-1 | Profile: builtin
gitea_act-gitea_act_runner-1 | cgroupns
gitea_act-gitea_act_runner-1 | Kernel Version: 5.10.0-29-arm64
gitea_act-gitea_act_runner-1 | Operating System: Debian GNU/Linux 12 (bookworm) (containerized)
gitea_act-gitea_act_runner-1 | OSType: linux
gitea_act-gitea_act_runner-1 | Architecture: aarch64
gitea_act-gitea_act_runner-1 | CPUs: 4
gitea_act-gitea_act_runner-1 | Total Memory: 7.569GiB
gitea_act-gitea_act_runner-1 | Name: 08cb49430981
gitea_act-gitea_act_runner-1 | ID: 9d69f226-2f2d-4c4e-b3ab-fab9f5703423
gitea_act-gitea_act_runner-1 | Docker Root Dir: /var/lib/docker
gitea_act-gitea_act_runner-1 | Debug Mode: false
gitea_act-gitea_act_runner-1 | Experimental: false
gitea_act-gitea_act_runner-1 | Insecure Registries:
gitea_act-gitea_act_runner-1 | 127.0.0.0/8
gitea_act-gitea_act_runner-1 | Live Restore Enabled: false
gitea_act-gitea_act_runner-1 |
gitea_act-gitea_act_runner-1 |
gitea_act-gitea_act_runner-1 | ===========================================================
gitea_act-gitea_act_runner-1 | 2024-05-12 22:15:24 INFO [/opt/run_runner.sh:10] Effective user: uid=1000(act) gid=1000(act) groups=1000(act),27(sudo),100(users),999(docker)
gitea_act-gitea_act_runner-1 | 2024-05-12 22:15:24 INFO [/opt/run_runner.sh:59] Trying to register runner with Gitea...
gitea_act-gitea_act_runner-1 | 2024-05-12 22:15:24 INFO [/opt/run_runner.sh:60] GITEA_INSTANCE_URL=https://git.phemius.net
gitea_act-gitea_act_runner-1 | 2024-05-12 22:15:24 INFO [/opt/run_runner.sh:61] GITEA_RUNNER_NAME=git.phemius
gitea_act-gitea_act_runner-1 | 2024-05-12 22:15:24 INFO [/opt/run_runner.sh:62] GITEA_RUNNER_LABELS=ubuntu-latest:docker://catthehacker/ubuntu:act-22.04,ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04,ubuntu-20.04:docker://catthehacker/ubuntu:act-20.04
gitea_act-gitea_act_runner-1 | level=info msg="Registering runner, arch=arm64, os=linux, version=v0.2.10."
gitea_act-gitea_act_runner-1 | level=warning msg="Runner in user-mode."
gitea_act-gitea_act_runner-1 | level=debug msg="Successfully pinged the Gitea instance server"
gitea_act-gitea_act_runner-1 | Error: Failed to register runner: failed to save runner config: open /data/.runner: permission denied
^CGracefully stopping... (press Ctrl+C again to force)
Aborting on container exit...
[+] Stopping 1/1
✔ Container gitea_act-gitea_act_runner-1 Stopped 0.2s
canceled
ju-li commented
I have the same issue. Running docker compose on the vanilla gitea act_runner works though