We have a development environment based on Docker, and since our staging and production servers are not based on Docker - we are trying to make those as similar as possible (Linux distribution, LAMP versions, configurations..).
I saw that most of Docker hub's offical images (e.g. mysql) are based on Jessie (Debian) and our servers are running Centos 6/7 (RedHat) so we created our own custom images "from" Centos that has all the required installations and therfore it is similar to the production environment.
My question is - is it really important for us to make sure that we are using the same Linux distribution on both the Docker image and on the production server or is it a waste of time and we should just use the offical images?
Thanks.