docker commands
Published:
useful docker commands
run on windows git bash
MSYS_NO_PATHCONV=1 docker run -it -v /c/Users/freed/develop/DB_OEBB_ticket:/DB fulaibaowang/dbticket:1.0.0 /bin/bash
cleaning
docker stop $(docker ps -aq) ##Stop all running containers
docker rm -f <container_id_or_name>
docker builder prune -a
docker rmi -f 2f0a9f07282e974e8d4c5b55f52ece660d81392e40fc86c93b8a2cf7892a47aa
docker rm -v -f $(docker ps -qa)
#clean up
docker system prune -a
docker system prune --all --force --volumes
build
docker build --platform=linux/amd64 -t rstudio:4.2.2-1 .
docker build --platform=linux/amd64 -t rstudio:4.2.2-1 --file Dockerfile_ .
docker run -it --platform=linux/amd64 rstudio:4.2.2-1 /bin/bash
docker run --platform=linux/amd64 -it -v /Users/YWang/minimal_example_iCLIP:/Users/YWang/minimal_example_iCLIP racoonclip-1.0.7 /bin/bash
singularity
module load singularity
singularity pull ~/service/images/bioinformatics_software.v3.0.11.sif docker://index.docker.io/mpgagebioinformatics/bioinformatics_software:v3.0.11