Docker images for medical imaging
Repository of Docker containers for medical image processing 🐳🐳🐳
Best practices:
- The
/DATA
folder is used as the standard data folder between the host and Docker container. - The containers are run using the
docker
user (do not use theroot
user). We enforce theUID
to1000
.
RUN useradd -ms /bin/bash -u 1000 docker
- Read/write permissions between the host and the container can be handled with the
-u
options by matching the host user’sUID
with the container’sUID
:
docker run -u $UID:1000 whatever/docker/image ....
- Installed code inside the docker is placed at
/home/docker/src/