Skip to content

Commit

Permalink
fix: Increase amount of opened files (#136)
Browse files Browse the repository at this point in the history
Add configuration to increase amount of opened files

Signed-off-by: Vitaliy Gulyy <[email protected]>
  • Loading branch information
vitaliy-guliy authored Nov 1, 2023
1 parent 90869ca commit 277c10c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions universal/ubi8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ RUN mkdir -p /var/lib/shared/overlay-images /var/lib/shared/overlay-layers; \
RUN mkdir -p "${HOME}"/.config/containers && \
(echo '[storage]';echo 'driver = "vfs"') > "${HOME}"/.config/containers/storage.conf

# Configure container engine
COPY --chown=0:0 containers.conf /etc/containers/containers.conf

# Install kubedock
ENV KUBEDOCK_VERSION 0.13.0
RUN curl -L https://github.com/joyrex2001/kubedock/releases/download/${KUBEDOCK_VERSION}/kubedock_${KUBEDOCK_VERSION}_linux_amd64.tar.gz | tar -C /usr/local/bin -xz \
Expand Down
4 changes: 4 additions & 0 deletions universal/ubi8/containers.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[containers]
default_ulimits = [
"nofile=65535:65535",
]

0 comments on commit 277c10c

Please sign in to comment.