Activiti / activiti-cloud-examples

Activiti Cloud Examples using Docker Images from: https://hub.docker.com/u/activiti

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

asdf913 opened this issue · comments

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'`

commented

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'

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

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

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

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

worked!

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

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

worked!
Thanks!!!

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