Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ucphhpc/docker-migrid
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbardino committed Mar 23, 2024
2 parents 878759c + 695aea0 commit a35be74
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 15 deletions.
10 changes: 10 additions & 0 deletions doc/source/sections/troubleshooting/containers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,13 @@ DevDNS can't get IPs of containers

This error occurs when DevDNS gets a notification of a container in another network.
You can set the network in which DevDNS works with the environment variable `NETWORK=docker-migrid_default` for example.


Docker Compose complains about volume paths
-------------------------------------------

::

Error response from daemon: invalid mount config for type "bind": invalid mount path: 'docker-migrid_httpd' mount path must be absolute

This error message happens when Docker Compose V2 is used and a target path in one of the volumes contains a **trailing slash**
10 changes: 5 additions & 5 deletions docker-compose_development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ services:
volumes:
- type: volume
source: httpd
target: /etc/httpd/
target: /etc/httpd
- type: volume
source: mig
target: /home/mig/mig
Expand Down Expand Up @@ -123,7 +123,7 @@ services:
volumes:
- type: volume
source: httpd
target: /etc/httpd/
target: /etc/httpd
- type: volume
source: mig
target: /home/mig/mig
Expand Down Expand Up @@ -167,7 +167,7 @@ services:
volumes:
- type: volume
source: httpd
target: /etc/httpd/
target: /etc/httpd
- type: volume
source: mig
target: /home/mig/mig
Expand Down Expand Up @@ -215,7 +215,7 @@ services:
volumes:
- type: volume
source: httpd
target: /etc/httpd/
target: /etc/httpd
- type: volume
source: mig
target: /home/mig/mig
Expand Down Expand Up @@ -262,7 +262,7 @@ services:
volumes:
- type: volume
source: httpd
target: /etc/httpd/
target: /etc/httpd
- type: volume
source: mig
target: /home/mig/mig
Expand Down
10 changes: 5 additions & 5 deletions docker-compose_development_gdp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ services:
volumes:
- type: volume
source: httpd
target: /etc/httpd/
target: /etc/httpd
- type: volume
source: mig
target: /home/mig/mig
Expand Down Expand Up @@ -126,7 +126,7 @@ services:
volumes:
- type: volume
source: httpd
target: /etc/httpd/
target: /etc/httpd
- type: volume
source: mig
target: /home/mig/mig
Expand Down Expand Up @@ -170,7 +170,7 @@ services:
volumes:
- type: volume
source: httpd
target: /etc/httpd/
target: /etc/httpd
- type: volume
source: mig
target: /home/mig/mig
Expand Down Expand Up @@ -218,7 +218,7 @@ services:
volumes:
- type: volume
source: httpd
target: /etc/httpd/
target: /etc/httpd
- type: volume
source: mig
target: /home/mig/mig
Expand Down Expand Up @@ -265,7 +265,7 @@ services:
volumes:
- type: volume
source: httpd
target: /etc/httpd/
target: /etc/httpd
- type: volume
source: mig
target: /home/mig/mig
Expand Down
10 changes: 5 additions & 5 deletions docker-compose_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ services:
volumes:
- type: volume
source: httpd
target: /etc/httpd/
target: /etc/httpd
- type: volume
source: mig
target: /home/mig/mig
Expand Down Expand Up @@ -94,7 +94,7 @@ services:
volumes:
- type: volume
source: httpd
target: /etc/httpd/
target: /etc/httpd
- type: volume
source: mig
target: /home/mig/mig
Expand Down Expand Up @@ -135,7 +135,7 @@ services:
volumes:
- type: volume
source: httpd
target: /etc/httpd/
target: /etc/httpd
- type: volume
source: mig
target: /home/mig/mig
Expand Down Expand Up @@ -179,7 +179,7 @@ services:
volumes:
- type: volume
source: httpd
target: /etc/httpd/
target: /etc/httpd
- type: volume
source: mig
target: /home/mig/mig
Expand Down Expand Up @@ -223,7 +223,7 @@ services:
volumes:
- type: volume
source: httpd
target: /etc/httpd/
target: /etc/httpd
- type: volume
source: mig
target: /home/mig/mig
Expand Down

0 comments on commit a35be74

Please sign in to comment.