Docker Setup Instructions
If you need to build the Docker image from scratch:
Create the Dockerfile (copy from
Dockerfile.example):cp Dockerfile.example DockerfileBuild the Docker image:
docker build -t medical-imaging/nodule-segmentation:latest .Verify the image was created:
docker images | grep medical-imaging
If the image already exists:
You can check if it exists with:
docker images | grep medical-imaging/nodule-segmentation
If it shows the image, you can directly run the main script:
./scripts/DLCS24_KNN_2mm_Extend_Seg.sh
Container Management
The script automatically:
- Removes any existing container with the same name
- Creates a new container
- Runs the segmentation pipeline
- Keeps the container running for potential debugging
To manually clean up containers:
docker rm -f nodule_seg_pipeline
To see running containers:
docker ps
To see all containers (including stopped):
docker ps -a