USCDataScience / sparkler

Spark-Crawler: Apache Nutch-like crawler that runs on Apache Spark.

Home Page:http://irds.usc.edu/sparkler/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Newbie question

chrome83 opened this issue · comments

Hello dev, sorry for my newbie question, but i need to add sparkler user to sudo, or just if it's possible the root password for docker container to install software via apt.

you dont need to add sparkler user to sudo.
You should install docker and have it running.
Please refer to this page https://github.com/USCDataScience/sparkler/wiki/Build-and-Deploy#using-prebuilt-docker-image

Ok, sorry for my bad english, my fault. 😄
I try to explain better, in the docker sparkler container, i need to add some software via apt.
The command need elevated privilege.
It's possible having root password?

@chrome83
this is a question related to docker and you can find documentation everywhere on how to get root user inside a docker image.

By default we have added non sudo user sparkler

user="sparkler"

Try changing that user to root and see if it works (I have not tested it recently;).
Here is a link to docker documentation https://docs.docker.com/engine/reference/commandline/exec/

@thammegowda
many thank's, it worked, sorry for my stupid question 😄 , but i think when you have builded the images, have inserted your root password.
Best regard ✋