There is some performance overhead from the configuration Docker uses for the containers, as well as some of the historical behaviour (not sure if they still apply)
- if you use docker nat, it about doubles connection time, if you only have extremely short connections this can be quite visible.
- If you need FS access, this can come at a high cost depending on your usage pattern, docker’s layered FS is not cheap.
- Finally Docker enables features which don’t come for free and which you may not be enabling separately e.g. seccomp (this can result in a 15+% performance hit in the worst case)
- if you use docker nat, it about doubles connection time, if you only have extremely short connections this can be quite visible.
- If you need FS access, this can come at a high cost depending on your usage pattern, docker’s layered FS is not cheap.
- Finally Docker enables features which don’t come for free and which you may not be enabling separately e.g. seccomp (this can result in a 15+% performance hit in the worst case)