What Lightweight Linux Distro Should I Use for Docker?

0
10
Asked By TechieTurtle42 On

I've been managing a VPS for a while, currently running Ubuntu 20.04 which is now unsupported. I mainly use this server for Docker and various containers. I reached out to my provider about increasing my memory (I have 4GB at the moment), but I'm thinking this might be the right time to replace Ubuntu with a lighter Linux distribution. Do you have any suggestions?

Also, what's the best method to back up my Docker containers and their associated data, like databases, and then restore them later? Thanks a lot!

1 Answer

Answered By LowMemoryGuru11 On

Sticking with Ubuntu LTS is a solid choice. However, for your use case, a minimal Debian installation might be worth considering. It allows you to install only the packages you need. Just avoid adding any graphical interface, which should help keep your memory usage low, depending on what your containers actually consume.

TechieTurtle42 -

Thanks! I'm already on Ubuntu Server, so no UI there. Still, I often find myself running low on memory, which really slows things down. Maybe consolidating my database engines would help instead of spinning one up for each container. I'm assuming more memory would assist while I sort through these issues.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.