-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docker: fix ulimits for eos container (#4620)
* docker: fix ulimits for eos container * add changelog * restore command * use upstream ceph repo * improve docs
- Loading branch information
Showing
4 changed files
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Bugfix: Fix ulimits for EOS container deployment | ||
|
||
https://github.com/cs3org/reva/pull/4620 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
# Changing ulimits inside the container may not be allowed. | ||
# This container is usually called from docker compose, | ||
# where the ulimits are set in the docker compose file. | ||
# If the container needs to be run manually, the following flag | ||
# needs to be passed, else the container will run out of fd. | ||
# docker run myeoscontainer --ulimit nofiles:1024000:1024000 | ||
|
||
FROM gitlab-registry.cern.ch/dss/eos/eos-ci:5.1.25 | ||
|
||
COPY scripts/eos-run.sh /mnt/scripts/eos-run.sh | ||
COPY sssd/sssd.conf /etc/sssd/sssd.conf | ||
|
||
RUN ulimit -n 1024000 && yum install -y sssd sssd-client | ||
|
||
RUN yum install -y sssd sssd-client | ||
|
||
RUN chmod 0600 /etc/sssd/sssd.conf && chown root:root /etc/sssd/sssd.conf | ||
|
||
ENTRYPOINT /mnt/scripts/eos-run.sh | ||
ENTRYPOINT /mnt/scripts/eos-run.sh |