Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Warn if ulimit -n is too high when running Docker
Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
- Loading branch information
eda48ff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But the image is already built, they are not running this again, right?
eda48ff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When image is build, this step will append this script to
.bashrc
only. After that when container is running that's executed when a user logs in (exec to the container)When user notice this message, they can run the container again with suggest passing --ulimit
Now limit under control, hence that message is not appear when user exec to container anymore
Do you think is this fine and helpful?
eda48ff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for clarifying, I missed the
bashrc
part. Makes sense.