cancel
Showing results for 
Search instead for 
Did you mean: 

Data Intelligence docker error(container has runAsNonRoot and image will run as root)

0 Kudos

Hi, I'm facing this issue, when I start pipeline.

the code in dockerfile is for SAP data intelligence 2.7 version was worked

but data intelligence 3.0 isn't worked now.

I have no idea why error happened.

I'm not a developer. so, that is why I couldn't find out appropriated code for docker.

please help me to solve this.

thank you

Accepted Solutions (0)

Answers (2)

Answers (2)

AndreasForster
Product and Topic Expert
Product and Topic Expert
0 Kudos

For R these four commands from the documentation had to be added to the bottom of the 2.7 Docker script (which inherits FROM debian:9.4)

https://help.sap.com/viewer/1c1341f6911f4da5a35b191b40b426c8/Cloud/en-US/62d1df08fa384d0e88bbe9b7cbd...

RUN groupadd -g 1972 vflow && useradd -g 1972 -u 1972 -m vflow
USER 1972:1972
WORKDIR /home/vflow
ENV HOME=/home/vflow

AndreasForster
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello jihun, For security reasons the Modeler application has stopped supporting images that run with a root user.

https://help.sap.com/viewer/1c1341f6911f4da5a35b191b40b426c8/Cloud/en-US/62d1df08fa384d0e88bbe9b7cbd...

This example builds successfully in DI 3

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

Another difference in DI 3 is that you dont need to specify the standard tags for the Dockerfile anymore (ie tornado). When inheriting from com.sap.sles.base you just need to specify your own tag.

0 Kudos

Hi Andrea Forster

thank you for your comment

I also found dockerfile code for python3

but, I'm trying to use R

so, can you give me any example code I can use for dockerfile with Rclient?

Thank you