Builds with Secrets fail with the error "Error processing tar file(exit status 1): invalid symlink "/opt/app-root/src/..data""
Issue
-
Executing a build in OpenShift Container Platform using Secrets results in an error similar to the following example:
error: Uploading to container failed: Error response from daemon: Error processing tar file(exit status 1): invalid symlink "/opt/app-root/src/..data" -> "..2019_08_06_22_44_01.875817706" ERROR: Error occurred during injecting "/var/run/secrets/openshift.io/build/secret" to "/opt/app-root/src": Error response from daemon: Error processing tar file(exit status 1): invalid symlink "/opt/app-root/src/..data" -> "..2019_08_06_22_44_01.875817706"
Environment
- Red Hat OpenShift Container Platform (OCP) 3.9, 3.10, 3.11
- docker 1.13.1-102
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.