ucphhpc / docker-migrid

Containerized MiG
GNU General Public License v2.0
3 stars 7 forks source link

remove trailing slash from Docker volume targets #45

Closed benibr closed 4 months ago

benibr commented 4 months ago

With the new docker compose version I get an error message saying

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

when the target path of a volume mount contains a trailing slash.

This PR remove the trailing slashes and adds a troubleshoot section to explain it.

benibr commented 4 months ago

Check fails because untested changes in #43

jonasbardino commented 4 months ago

I think the build breakage is finally fixed after adjusting the bind,ro option in PR 43 and switching over to docker compose as default where available. So I've merged now - let's see if everything still builds.

jonasbardino commented 4 months ago

It did :partying_face: https://github.com/ucphhpc/docker-migrid/actions/runs/8379771898