Skip to content
GitLab
Explore
Sign in
Register
This project is archived. Its data is
read-only
.
Changes
Page history
Update SpdRoot in Docker
authored
Oct 20, 2022
by
Amaresh Datta
Show whitespace changes
Inline
Side-by-side
SpdRoot-in-Docker.md
View page @
295d8f86
...
@@ -45,7 +45,7 @@ Run your script :
...
@@ -45,7 +45,7 @@ Run your script :
```
```
./spdroot.py mymacro.C
./spdroot.py mymacro.C
```
```
Folder /root/spdroot contains SpdRoot source, for your reference.
The SpdRoot build is located at /cvmfs/nica.jinr.ru/spd/ubuntu/spdroot
.
Folder /root/spdroot contains SpdRoot source, for your reference.
Installed fairsoft, fairroot and spdroot are located in /opt area
.
4.
Enjoy!
4.
Enjoy!
...
@@ -60,3 +60,22 @@ while calling _git pull_, execute command
...
@@ -60,3 +60,22 @@ while calling _git pull_, execute command
export GIT_SSL_NO_VERIFY=1
export GIT_SSL_NO_VERIFY=1
```
```
and try again.
and try again.
5.
Some more useful docker interactions :
-
exiting docker prompt will still have the docker container available. One can re-enter the same container by
```
docker start `docker ps -q -l`
docker attach `docker ps -q -l`
```
-
if you have accidentally multiple containers open of the same version, you can remove by
```
docker ps -a #lists all containers, open and exited/paused
docker rm container_id
```
-
to exchange files between host machine and spdroot docker container :
```
#from host to docker:
docker cp hostpath/source_file container_id:/dockerpath/target_file
#from docker to host:
docker cp container_id:/dockerpath/source_file hostpath/target_file
```