Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

activiti-cloud-example start-up error : invalid mount path: \'rabbitmq-data\' mount path must be absolute' #113

Open
asdf913 opened this issue Feb 14, 2020 · 6 comments

Comments

@asdf913
Copy link

asdf913 commented Feb 14, 2020

git remote -v
image

$PSVersionTable.PSVersion
3.0
image

make all
image

ERROR: for rabbitmq Cannot create container for service rabbitmq: b'invalid volume specification: 'e0e1fa157710f0e4dfa
5339dbfe3d5e62861a673245111156fbe26183acb47fe:rabbitmq-data:rw': invalid mount config for type "volume": invalid mount
path: 'rabbitmq-data' mount path must be absolute'`

@hex-m
Copy link

hex-m commented Mar 2, 2020

I have the same problem on CentOS 7.

Status: Downloaded newer image for docker.io/rabbitmq:latest
Creating rabbitmq ... error

ERROR: for rabbitmq  Cannot create container for service rabbitmq: b'invalid volume spec "rabbitmq-data": invalid volume specification: \'rabbitmq-data\': invalid mount config for type "volume": invalid mount path: \'rabbitmq-data\' mount path must be absolute'

@mteodori
Copy link
Contributor

which version of docker-compose? could it be it is outdated?

@mouse2001xu
Copy link

the same error , the version of docker-compose is 1.28.4

@zairl23
Copy link

zairl23 commented Jun 30, 2021

Same issue in docker-compose 1.29.2, just edit this line in docker-compose.yml:

  • rabbitmq-data:/var/lib/rabbitmq/data

worked!

@grey8848
Copy link

grey8848 commented Jul 1, 2021

Same issue in docker-compose 1.29.2, just edit this line in docker-compose.yml:

  • rabbitmq-data:/var/lib/rabbitmq/data

worked!
Thanks!!!

@FoamValue
Copy link

the same error , the version of docker-compose is v2.17.2

% docker-compose --version Docker Compose version v2.17.2

% make application
make nginx/up
docker-compose up -d nginx
[+] Running 1/0
✔ Container nginx Running 0.0s
make keycloak/up
docker-compose up -d keycloak
[+] Running 2/0
✔ Container nginx Running 0.0s
✔ Container keycloak Running 0.0s

Keycloak path 192.168.3.19/auth

make rabbitmq/up
docker-compose up -d rabbitmq
[+] Running 0/1
⠋ Container rabbitmq Creating 0.1s
Error response from daemon: invalid mount config for type "volume": invalid mount path: 'rabbitmq-data' mount path must be absolute
make[1]: *** [rabbitmq/up] Error 1
make: *** [rabbitmq] Error 2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants