If you've pulled the same image to two different machines, they will have the same image IDs (that is how pushing and pulling works!). If you *build* the same Dockerfile on two different machines, they'll be different.