Skip to content

docker run , pass ulimit nofile value can not change default nofile value 65536 #200

Open
@skytalemcc

Description

@skytalemcc

today i find one issue :
docker version 1.13
docker run --ulimit nofile=100000:100000
i use the image :CentOS-Dockerfiles/systemd/centos7/

i find in this container ,whatever i do or --ulimit nofile=100000:100000 to run this docker .
this docker when i ssh into it ,it still show ulimit -n 65536 。

image
image
image

this container docker shim is , nofile from host machine
image

this container init pid 1 process ,show
image

########################

This init process does not get the parameters from father process docker-shim 。
always keep 65536 。
may i know this office images whether fix the nofile to 65536 ,even docker-shim can not give the parameter to it .thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions