Hi Joeran,
Yes, I can run and see below.
docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
2db29710123e: Pull complete
Digest: sha256:62af9efd515a25f84961b70f973a798d2eca956b1b2b026d0a4a63a3b0b6a3f2
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
(amd64)
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.
Also I can see this container is in my docker dekstop terminal. However, when I pull or build the docker container as you said on webpage the following message appear but it does not show in the docker deskstop terminal.
docker pull joeranbosma/picai_nnunet:latest
latest: Pulling from joeranbosma/picai_nnunet
Digest: sha256:853e828aa57a32f38ef17fe1ba6adb86665a3f19d07f929265dea1d5cd0b2227
Status: Downloaded newer image for joeranbosma/picai_nnunet:latest
docker.io/joeranbosma/picai_nnunet:latest
Following message when I build the container.
docker build . --tag joeranbosma/picai_nnunet:latest
[+] Building 4.7s (21/21) FINISHED
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 38B 0.0s
=> [internal] load .dockerignore 0.1s
=> => transferring context: 35B 0.0s
=> [internal] load metadata for nvcr.io/nvidia/pytorch:20.12-py3 3.5s
=> [internal] load build context 0.1s
=> => transferring context: 224B 0.1s
=> [ 1/16] FROM nvcr.io/nvidia/pytorch:20.12-py3@sha256:cc14c0cf580989bb1ff39fa78ca697b77a8860b17acead4a60b853bb45499f8d 0.0s
=> CACHED [ 2/16] RUN groupadd -r user && useradd -m --no-log-init -r -g user user 0.0s
=> CACHED [ 3/16] RUN echo "PYTHONUNBUFFERED=1" >> /etc/environment && echo "OMP_NUM_THREADS=1" >> /etc/environment 0.0s
=> CACHED [ 4/16] RUN apt-get update && apt-get install -y --no-install-recommends graphviz && apt-get clean && rm -rf /var/lib/a 0.0s
=> CACHED [ 5/16] RUN git config --global advice.detachedHead false && git clone https://github.com/DIAGNijmegen/nnUNet.git /home/user/nn 0.0s
=> CACHED [ 6/16] COPY io.py /tmp/io.py 0.0s
=> CACHED [ 7/16] RUN SITE_PKG=pip3 show nnunet | grep "Location:" | awk '{print $2}'
&& mv /tmp/io.py "$SITE_PKG/nnunet/utilities/io.p 0.0s
=> CACHED [ 8/16] RUN pip3 install picai_eval picai_prep git+https://github.com/DIAGNijmegen/picai_baseline 0.0s
=> CACHED [ 9/16] COPY nnUNetTrainerV2_focalLoss.py /tmp/nnUNetTrainerV2_focalLoss.py 0.0s
=> CACHED [10/16] RUN SITE_PKG=pip3 show nnunet | grep "Location:" | awk '{print $2}'
&& mv /tmp/nnUNetTrainerV2_focalLoss.py "$SITE_PK 0.0s
=> CACHED [11/16] COPY nnUNetTrainerV2_Loss_CE_checkpoints.py /tmp/nnUNetTrainerV2_Loss_CE_checkpoints.py 0.0s
=> CACHED [12/16] RUN SITE_PKG=pip3 show nnunet | grep "Location:" | awk '{print $2}'
&& mv /tmp/nnUNetTrainerV2_Loss_CE_checkpoints.py 0.0s
=> CACHED [13/16] COPY nnUNetTrainerV2_Loss_FL_and_CE.py /tmp/nnUNetTrainerV2_Loss_FL_and_CE.py 0.0s
=> CACHED [14/16] RUN SITE_PKG=pip3 show nnunet | grep "Location:" | awk '{print $2}'
&& mv /tmp/nnUNetTrainerV2_Loss_FL_and_CE.py "$SI 0.0s
=> CACHED [15/16] COPY --chown=user nnunet_wrapper.py /home/user/nnunet_wrapper.py 0.0s
=> CACHED [16/16] RUN chmod +x /home/user/nnunet_wrapper.py && ln -s /home/user/nnunet_wrapper.py /usr/local/bin/nnunet 0.0s
=> exporting to image 0.7s
=> => exporting layers 0.0s
=> => writing image sha256:70ce2833155447f50ed9db46d2b39245430a44fecfd01f8885e8024406927771 0.0s
=> => naming to docker.io/joeranbosma/picai_nnunet:latest 0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Any help will be apprecaited. Thank you.