cms-dpoa / cms-dpoa-getting-started

https://cms-dpoa.github.io/cms-dpoa-getting-started/intro.html
2 stars 2 forks source link

Noora - CMS open data containers #33

Open katilp opened 3 years ago

katilp commented 3 years ago

Go through https://cms-opendata-workshop.github.io/workshop-lesson-docker-preexercises/ (but you can leave out chapter 4 about CVMFS)

Note that the container is very big and the first download to your local computer will take a long time.

There may be some trouble to get the CMS open data container running from Windows linux install. If you using WSL it can be solved as explained in https://opendata-forum.cern.ch/t/running-cms-opendata-containers-in-wsl2/30

Let me know how it goes

nooraangelva commented 3 years ago

There were no problems with the cms open data container. I left out chapter 4. I didn't get chapter 5 to work. the first command provided an error (the rest also).

katilp commented 3 years ago

Are you able to open the container with docker run --name opendata -it cmsopendata/cmssw_5_3_32 /bin/bash? Or docker start -i opendata if the command above says it already exists.

Would you copy-paste the error here and the output of command pwd? Thanks!

katilp commented 3 years ago

Updated the command in the previous comment.

nooraangelva commented 3 years ago

Hi that part works fine. This code from part 4 gives me errors:

docker run --privileged -it --name myopendataproject --net=host --env="DISPLAY" --volume="$HOME/.Xauthority:/home/cmsusr/.Xauthority:rw" -v ${HOME}/cms_open_data_work:/home/cmsusr/cms_open_data_work:shared cmsopendata/cmssw_5_3_32 /bin/bash

Error response from daemon: path /home/nooraangelva/cms_open_data_work is mounted on / but it is not a shared mount. See 'docker run --help'.

katilp commented 3 years ago

Alright, so that was in section 4. No need to go through that section (see above 😉 ). Was the last section (Test and validate) OK? The scp command to lxplus won't work as you do not have an lxplus account (CERN linux cluster) yet.