stakater / bugs

Stakater issue tracker
0 stars 1 forks source link

Nexus Systemd Unit Issue #179

Closed hazim1093 closed 7 years ago

hazim1093 commented 7 years ago

The nexus systemd unit in developer environment sometimes fails to pull stakater/nexus docker image with the following error

failed to register layer: rename /var/lib/docker/image/overlay/layerdb/tmp/layer-581145040 /var/lib/docker/image/overlay/layerdb/sha256/7cbcbac42c44c6c38559e5df3a494f44987333c8023a40fec48df2fce1fc146b: directory not empty"

Investigate why this happens

hazim1093 commented 7 years ago

The Nexus unit failed pulling nexus due to the start timeout. Updated Unit start timeout to 20min so that the unit does not fail while pulling the docker image.

This might solve the problem as interrupted download might have caused corrupted layer data in the docker directory