Microsoft R Operationalization Support under Docker RRS feed

  • Question

  • I installed Microsoft R under Docker and while configuring Operationalization for a One-Box Configuration using the Administrator Utility and I get the following errors:

    Operation failed: No such file or directory
    Failed to get D-Bus connection: Operation not permitted
    Error: Web node did not start
    Failed to get D-Bus connection: Operation not permitted
    Error: Compute node did not start
    My base image is centos/systemd (Latest centos base image with systemd support).  Docker run (version 1.10.3) was invoked with the"--privileged" and "-v /sys/fs/cgroup:/sys/fs/cgroup:ro" flags. 

    • Edited by mjmg Friday, December 9, 2016 1:11 PM
    Friday, December 9, 2016 1:07 PM

All replies

  • I ended up getting this to work. deployR installs systemd scripts that you can go after, provided you first set an admin password with the tool. I might need to do a little research to see if I can script encrypting the admin password with a JWT to the json file. I was able to move back to a regular centos image.

    My docker looks something like:

    cd /usr/lib64/microsoft-deployr/9.0.1/Microsoft.DeployR.Server.BackEnd
    /usr/local/bin/dotnet Microsoft.DeployR.Server.BackEnd.dll &
    cd /usr/lib64/microsoft-deployr/9.0.1/Microsoft.DeployR.Server.WebAPI
    /usr/local/bin/dotnet Microsoft.DeployR.Server.WebAPI.dll &
    rm -rf /opt/deployr/9.0.1/rserve/workdir/Rserv8.0.5
    runuser -u rserve2 /usr/bin/R -- CMD /opt/deployr/9.0.1/rserve/R/bin/Rserve --no-save --no-site-file --RS-conf /opt/deployr/9.0.1/rserve/Rserv.conf  > /opt/deployr/9.0.1/rserve/R/log 2>&1
    tail -f /dev/null

    • Edited by larryboymi Monday, March 6, 2017 2:57 PM
    Monday, March 6, 2017 2:56 PM