Open katilp opened 5 years ago
Install with: https://golb.hplar.ch/2019/01/docker-on-windows10-home-scratch.html
then on command prompt
start_docker
docker-machine ssh
docker run .... (see http://opendata.cern.ch/docs/cms-guide-docker and https://github.com/clelange/cmssw-docker/) e.g.
docker run --name opendata -it cmsopendata/cmssw_5_3_32 /bin/bash
(without cvmfs access)
or
docker run --rm --privileged -it clelange/slc6-cmssw-cvmfs /bin/bash
(with cvmfs access)
docker ps
(lists running containers)
docker images
(lists downloaded images)
docker --help
Question(s):
The cmssw-cvmfs container reads the condition data in cache if that container is kept (run without -rm) and used another time. The cache usage (df) shows the same when the container is started again, but the starting time for the test job still slow😕 and apparently the condition data is not read from cache but from the cvmfs (TBC)
Just for completeness
docker images
shows downloaded images e.g.
docker ps -a
shows all containers ( the default without -a only the running containers), e.g.
VirtualBox GUI does not need to be running.
If 2004 update (for WSL2) does not come automated, it can be downloaded from https://support.microsoft.com/en-us/help/4028685/windows-10-get-the-update
docker pull cmssw/cmssw:CMSSW_7_3_0
This works, another option without installing toolbox below