myoung34/docker-github-actions-runner

Docker Ulimit Invalid Argument.

rchaud opened this issue · 0 comments

I am getting this error when starting Docker in the image and Docker doesn't start.

Using myoung34/github-runner:latest

Starting docker service
/etc/init.d/docker: 62: ulimit: error setting limit (Invalid argument)

2024-04-24T17:21:30.728711929Z √ Connected to GitHub

The line in the /etc/init.d/docker that is causing the error is:

                # Only set the hard limit (soft limit should remain as the system default of 1024):
                ulimit -Hn 524288

I have found this which might indicate an older version of Docker.

https://forums.docker.com/t/etc-init-d-docker-62-ulimit-error-setting-limit-invalid-argument-problem/139424
docker/cli#4807