Swap, elasticsearch and docker

Its recommended to disable swap in the elasticsearch machine, but I was wandering if I have three elastic nodes on docker, is still recommended to disable swap?

The recommendation is to disable swap completely amongst other 2 options to ensure elasticsearch JVM uses RAM, this also applies when using docker.
For docker specific on limiting at container level (if the docker host/engine has swap enabled), best to refer to docker documentation

Thanks Julien, if I disable swap on linux then it wouldn't be necessary to disable it in docker right?