Browse Source
Merge pull request #9773 from 805447391/master
DockerCE: Fix can't mapping large range ports (too many open files)
lilik-openwrt-22.03
Florian Eckert
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
1 deletions
-
utils/docker-ce/Makefile
-
utils/docker-ce/files/dockerd.init
|
|
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=docker-ce |
|
|
|
PKG_VERSION:=19.03.1 |
|
|
|
PKG_RELEASE:=1 |
|
|
|
PKG_RELEASE:=2 |
|
|
|
PKG_LICENSE:=Apache-2.0 |
|
|
|
PKG_LICENSE_FILES:=components/cli/LICENSE components/engine/LICENSE |
|
|
|
|
|
|
|
|
|
@ -4,7 +4,10 @@ USE_PROCD=1 |
|
|
|
START=25 |
|
|
|
|
|
|
|
start_service() { |
|
|
|
local nofile=$(cat /proc/sys/fs/nr_open) |
|
|
|
|
|
|
|
procd_open_instance |
|
|
|
procd_set_param command /usr/bin/dockerd |
|
|
|
procd_set_param limits nofile="${nofile} ${nofile}" |
|
|
|
procd_close_instance |
|
|
|
} |