Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ulimit error #1

Closed
Soebb opened this issue Mar 18, 2024 · 3 comments
Closed

ulimit error #1

Soebb opened this issue Mar 18, 2024 · 3 comments

Comments

@Soebb
Copy link

Soebb commented Mar 18, 2024

I used your image but the container won't run because of ulimit error.
docker/cli#4807 (comment)
It seems it will be temporary fixed if the docker-ce==24.0.7-1 be installed.
Please update the image or make another, thanks.

@Soebb
Copy link
Author

Soebb commented Mar 18, 2024

The better fix to adding :

RUN \
    echo "ulimits: $(ulimit -Sn):$(ulimit -Hn)"; \
    sed -i 's/ulimit -Hn/# ulimit -Hn/g' /etc/init.d/docker;
    #service docker start; \
    #rm -rf /var/cache/apt;

@Soebb Soebb changed the title Please downgrade docker-ce to fix ulimit error ulimit error Mar 18, 2024
@hmahdiany
Copy link
Owner

Thanks @Soebb for using.
I've built and tested this Dockerfile on Ubuntu 20.04 with docker-ce=25.0.4 installed on it and the container runs without any problem, but I couldn't reproduce the problem to examine the exact bug and test the possible solution you've mentioned. Could you please give me more information about the environment on which you are using this Docker image?

@Soebb
Copy link
Author

Soebb commented Mar 20, 2024

Not problem any more, it fixed as i said before.
I didn't use locally, i just used it to deploy to doprax.com

@Soebb Soebb closed this as completed Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants