Docker Community Forums

Share and learn in the Docker community.

Enable Swap Limit support on a host?


(Mhickok) #1

Hello all – quick disclaimer: I have no idea what I’m doing as I come from a Windows only background. So I am new to Docker and new to Linux.

I am trying to use Alpine as my Docker host and I am running into some issues with running all sorts of containers.

I recently read this page about assigning memory limits to containers when I came across the part that mentioned that these memory control features require swap limit support. When I type ‘docker info’ I see “WARNING: No swap limit support”.

From what I heard, Alpine is what of the best OS choices for hosting Docker so this seems really weird. Is it possible to enable swap limit support for Docker on Alpine?

Thanks!