Make Docker Repository Format support in Nexus 3 support foreign layers as described in that github issue.
In the description of the docker github problem, it states:
Additional information you deem important (e.g. issue happens only occasionally):
Dockerd 1.12 & 1.12.2 also have this issue.
Further down, a docker support person states:
looks like that's not an official version of the registry, but a version packaged by Red Hat. Support for foreign layers was added in version 2.5 https://github.com/docker/distribution/releases/tag/v2.5.0, and is needed for Windows based images because the base layers are only allowed to be distributed by Microsoft (for legal reasons). When pushing an image based on those images, only your layers will be pushed to the registry, but the base layer is not pushed (a reference to the foreign location is included in the image's manifest).
So it is entirely possible this will happen when using any docker client that can push images with foreign layers, including 1.12.* and 1.13.*.
What matters is the image being pushed and if that image has foreign layers.