cancel
Showing results for 
Search instead for 
Did you mean: 

SAP DI Docker error

0 Kudos

Hello,

I am trying to build an Dockerfile containing this:

FROM $com.sap.sles.base
RUN python3.6 -m pip install numpy==1.16.4 --user
RUN python3.6 -m pip install pandas==0.24.0 --user
RUN python3.6 -m pip install sklearn --user

I never get the message that the build was completed succesfully. However, after a while the tag shows up in the modeller and I can attach it to a group. But when I run the pipeline I get the error:

failed to prepare graph description: failed to prepare image: error building docker image. Docker daemon error: The command '/bin/sh -c python3.6 -m pip install numpy==1.16.4 --user' returned a non-zero code: 1

So anyone knows what to do to fix the problem?

Thanks in advanced

RolandKramer
Product and Topic Expert
Product and Topic Expert
0 Kudos

hello Luke
Did you already installed Patch 02 for Data Intelligence 3.0?
It is available since Friday, and there might also fixes in there, e.g. the connection to ADL_V2 works now ...

Best Regards Roland

Accepted Solutions (0)

Answers (2)

Answers (2)

CobyKako
Advisor
Advisor
0 Kudos

Hello Luke,

Please enable the Trace Level to DEBUG and run your script again to have more info on your problem.
See section 4.2 of the doc for more details on how to activate the trace:
https://help.sap.com/doc/91d870a845014cf590945492b672e97f/Cloud/en-US/cloud_loiocc6d420f2462481ebf66...

Hope this helps,
Jacob

RolandKramer
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

See the Transition Guide from Datahub 2.7 to Data Intelligence 3.0 - Changed Behaviors in SAP Data Intelligence 2.7 = 3.0. The Docker container can no longer run as a root user.
See if this helps.
Additionally, see also the mentioned Notes in the Blog - SAP Data Intelligence 3.0 – implement with slcb tool

Best Regards Roland

0 Kudos

Thanks for your suggerstions,

we haven't patched the system yet, but I have created a non root user and the error persists when buillding the docker image. Here the user:

and the error