mercure-imaging / mercure

mercure DICOM Orchestrator
https://mercure-imaging.org
MIT License
65 stars 31 forks source link

Systemd Install creates a docker network interface #77

Closed cadrogui closed 2 months ago

cadrogui commented 2 months ago

Describe the bug

When performs a systemd installation, the script create a new docker network iface named docker0, in my case with 172.0.0.7/16 CIDR, and the new iface 172.18.0.0/16, so i can reach traffic in the 172.18.0.0 segments in my network.

To Reproduce Steps to reproduce the behavior:

follow the standard installation for systemd:

image

  1. See error

Expected behavior

i understand if i dont select docker installation the systemd scirpt doesnt have to créate a docker network interfaces.

tblock79 commented 2 months ago

Even when using a systemd installation, mercure needs access to Docker because the processing modules are Docker containers. mercure must be able to pull, start, and stop those container images. Therefore, the latest Docker version gets installed during the mercure installation. If you are not planning to use any processing steps, you can probably comment-out the Docker installation function in the installation script, but by default Docker should be installed with mercure.

cadrogui commented 2 months ago

Hi, thanks for your answer, Ive got a better solution, i`ll send pr.

Regards.

guruevi commented 2 months ago

There are plenty of resources online on how to change the default Docker network: https://support.hyperglance.com/knowledge/changing-the-default-docker-subnet