System requirement:
docker pull yanglab/xtail
If your data is stored in this directory:/user/name/data_path, for example, you can bind this directory into docker container. You can replace this path:/user/name/data_path with the real path in your local server..
#If your data is stored in this directory:/user/name/data_path
ls -l /user/name/data_path
# Start a container
# -v /user/name/data_path:/home/test/share mean you will bind the directory /user/name/data_path in your local server into the docker container directory /home/test/share.
# You can change the path with your real local path.
docker run --name=xtail -dt -h yanglab --restart unless-stopped -v /user/name/data_path:/home/test/share yanglab/xtail
# You can see the share fold data from /home/test/share
ls /home/test/share
Or, prepare the data in the path:~/Desktop/bioinfo_tsinghua_share
The directory will bind into: /home/test/share, so you can access your data in container.
# Create a share folder.
mkdir -p ~/Desktop/bioinfo_tsinghua_share
# Start a container
docker run --name=xtail -dt -h yanglab --restart unless-stopped -v ~/Desktop/bioinfo_tsinghua_share:/home/test/share yanglab/xtail
# You can see the share fold data from /home/test/share
ls /home/test/share
docker exec -it xtail bash
R
library(xtail)
q()
# The directory
ls /home/test/share
exit
docker stop xtail
docker rm xtail
Content type
Image
Digest
Size
504.9 MB
Last updated
over 6 years ago
docker pull yanglab/xtail