If you consider how many images exist on Dockerhub, you can be sure that most of them have been build with a different docker version than the one you use to create a container based on it - and still the images work for you, don’t they?
Though, what might provide different behavior is the origin of the package. Make sure everyone uses the same docker distribution! It is recommended to stick with the packages provided by the docker’s own repositories. Packages from other repositories are redistributions that may or may not be modified to follow the package managers or os’s philosophy. For instance, I consider the snap package to be a non complient, thus broken, docker redistribution, Just because something is based on the docker sources, doesn’t make it a docker distribution that works like expected.