-
Notifications
You must be signed in to change notification settings - Fork 1.4k
ulimit argument has no effect on buildkit #1665
Copy link
Copy link
Closed
Labels
area/feature-parityFeature parity with classic builderFeature parity with classic builderhelp wanted
Description
Test case, Dockerfile:
FROM alpine
RUN ulimit -n > /tmp/ulimit.txt
Then I build this image with docker build --ulimit nofile=1024:1024 . -t test. After building, command docker run -it test cat /tmp/ulimit.txt prints 1073741816, which means infinity.
After turning off DOCKER_BUILDKIT, the command will print 1024 as expected. Issue may be connected with this problem, but it was marked as fixed 😠
Version info:
Client:
Version: 19.03.11
API version: 1.40
Go version: go1.14.3
Git commit: 42e35e6
Built: Sun Jun 7 21:16:58 2020
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.12
API version: 1.40 (minimum version 1.12)
Go version: go1.13.10
Git commit: 48a66213fe
Built: Mon Jun 22 15:49:35 2020
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.2.13
GitCommit: 7ad184331fa3e55e52b890ea95e65ba581ae3429
runc:
Version: 1.0.0-rc10
GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
Version: 0.18.0
GitCommit: fec3683
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/feature-parityFeature parity with classic builderFeature parity with classic builderhelp wanted