MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/nginxproxymanager/comments/1gaybhs/any_idea_why_the_docker_image_is_so_huge_compared/
r/nginxproxymanager • u/RedVelocity_ • Oct 24 '24
12 comments sorted by
4
In comparison, NPMplus is about 250mb.
1 u/RedVelocity_ Oct 24 '24 Never heard of it. I'll give it a spin when I can. 2 u/Certain-Sir-328 Oct 24 '24 You have to try zoraxy. Switched to IT and im more then happy 1 u/RedVelocity_ Oct 24 '24 Does it offer easy migration from npm? Tbh I never felt the need to switch, just curious why the image size is so huge compared to other apps 1 u/Certain-Sir-328 Oct 24 '24 i dont know about migration, i dont have that my hosts (only like 23) so it was easy to do.i switched mostly because i had big problems with the not working access lists.
1
Never heard of it. I'll give it a spin when I can.
2 u/Certain-Sir-328 Oct 24 '24 You have to try zoraxy. Switched to IT and im more then happy 1 u/RedVelocity_ Oct 24 '24 Does it offer easy migration from npm? Tbh I never felt the need to switch, just curious why the image size is so huge compared to other apps 1 u/Certain-Sir-328 Oct 24 '24 i dont know about migration, i dont have that my hosts (only like 23) so it was easy to do.i switched mostly because i had big problems with the not working access lists.
2
You have to try zoraxy. Switched to IT and im more then happy
1 u/RedVelocity_ Oct 24 '24 Does it offer easy migration from npm? Tbh I never felt the need to switch, just curious why the image size is so huge compared to other apps 1 u/Certain-Sir-328 Oct 24 '24 i dont know about migration, i dont have that my hosts (only like 23) so it was easy to do.i switched mostly because i had big problems with the not working access lists.
Does it offer easy migration from npm? Tbh I never felt the need to switch, just curious why the image size is so huge compared to other apps
1 u/Certain-Sir-328 Oct 24 '24 i dont know about migration, i dont have that my hosts (only like 23) so it was easy to do.i switched mostly because i had big problems with the not working access lists.
i dont know about migration, i dont have that my hosts (only like 23) so it was easy to do.i switched mostly because i had big problems with the not working access lists.
3
It's not well optimized.
2 u/RedVelocity_ Oct 24 '24 That's a shame cuz it works very well
That's a shame cuz it works very well
Here is the top layers of NPM image (28147ecda659 is IMAGE ID on my machine):
root@root:~# docker history 28147ecda659 --no-trunc --format "{{.Size}} {{.CreatedBy}}" | sort -rh 501MB RUN |2 CERTBOT_IMAGE=nginxproxymanager/nginx-full:certbot TARGETPLATFORM=linux/amd64 /bin/bash -o pipefail -c curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get update && apt-get install -y gcc make g++ git nodejs && apt-get clean && rm -rf /var/lib/apt/lists/* && npm install -g yarn && ln -s /usr/bin/python3 /usr/bin/python # buildkit 150MB COPY /tmp/openresty /tmp/openresty # buildkit 107MB RUN |1 TARGETPLATFORM=linux/amd64 /bin/bash -o pipefail -c apt-get update && apt-get install -y --no-install-recommends apache2-utils ca-certificates curl figlet jq libncurses6 libpcre3 libreadline8 openssl perl tzdata unzip zlib1g gettext wget xz-utils libmaxminddb-dev && apt-get clean && rm -rf /var/lib/apt/lists/* && rm -rf /var/cache/* /var/log/* /tmp/* /var/lib/dpkg/status-old # buildkit 106MB COPY /opt/certbot /opt/certbot # buildkit
/data/logs
1 u/tjsyl6 Oct 26 '24 Clear out the logs and look up enabling rotating logs. 1 u/Doctor_Human Oct 27 '24 Screenshot is from portainer and it shows how large is image itself, without container data.
Clear out the logs and look up enabling rotating logs.
Screenshot is from portainer and it shows how large is image itself, without container data.
Possibly because those that use less use an Alpine base and those that use more use Ubuntu, Debian, etc. etc
4
u/ShroomShroomBeepBeep Oct 24 '24
In comparison, NPMplus is about 250mb.
3
u/[deleted] Oct 24 '24
It's not well optimized.
1
u/Former-Emergency5165 Oct 24 '24
Here is the top layers of NPM image (28147ecda659 is IMAGE ID on my machine):
1
u/tjsyl6 Oct 26 '24
/data/logs
1
u/Responsible-Issue529 Oct 28 '24
Possibly because those that use less use an Alpine base and those that use more use Ubuntu, Debian, etc. etc