# Error compiling Ripple/Vagrant/Docker stack

**URL:** <https://openhealthhub.org/t/error-compiling-ripple-vagrant-docker-stack/2134>\
**Category:** Ripple OSI\
**Created:** [20 October 2019 15:31 UTC](https://openhealthhub.org/t/error-compiling-ripple-vagrant-docker-stack/2134 "2019-10-20T15:31:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sorcerer](https://openhealthhub.org/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@sorcerer](https://openhealthhub.org/u/sorcerer)\
**Post date:** [20 October 2019 15:31 UTC](https://openhealthhub.org/t/error-compiling-ripple-vagrant-docker-stack/2134/1 "2019-10-20T15:31:00Z")

</div>

Hello all,  
Following the instructions at “[GitHub - RippleOSI/Ripple-Stack-Vagrant-Docker: for docker & vagrant files to help with RippleOSI stack setup -check Qewd-Courier+HIT work for latest Docker setup](https://github.com/RippleOSI/Ripple-Stack-Vagrant-Docker)”  
After vagrant up command was issued, the compiling grounded to a halt after these statements.

…  
default: Running docker-compose build…  
==\> default: conductor-service-phr uses an image, skipping  
==\> default: openid-connect-server uses an image, skipping  
==\> default: mpi-service uses an image, skipping  
==\> default: authentication-service-phr uses an image, skipping  
==\> default: cdr-service-openehr uses an image, skipping  
default: Running docker-compose up…  
==\> default: readlink /var/lib/docker/overlay2: invalid argument  
The following SSH command responded with a non-zero exit status.  
Vagrant assumes that this means the command failed!

Can someone kindly suggested what might have caused the error “readlink /var/lib/docker/overlay2: invalid argument” ?  
Thanks in advance.  
Sorcerer

---

<div class="post-metadata">

**Author:** ![sorcerer](https://openhealthhub.org/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@sorcerer](https://openhealthhub.org/u/sorcerer)\
**Post date:** [20 October 2019 20:58 UTC](https://openhealthhub.org/t/error-compiling-ripple-vagrant-docker-stack/2134/2 "2019-10-20T20:58:52Z")

</div>

OK, I isolated the problem. The problem is:  
default: Guest Additions Version: 5.1.38  
default: VirtualBox Version: 6.0  
So, I have to use brute force “Docker provisioner” to start everything.  
Sorcerer

---

<div class="post-metadata">

**Author:** ![pacharanero](https://openhealthhub.org/user_avatar/openhealthhub.org/pacharanero/32/1117_2.png) [@pacharanero](https://openhealthhub.org/u/pacharanero)\
**Post date:** [21 October 2019 09:55 UTC](https://openhealthhub.org/t/error-compiling-ripple-vagrant-docker-stack/2134/3 "2019-10-21T09:55:00Z")

</div>

Hi @sorcerer glad you found the error. Are those defaults hard-coded in the Vagrantfile somewhere? It’s a long time since I wrote those scripts so I can’t remember much about it.

(To be honest, Docker support on Windows is much better now, so actually there’s an argument you don’t need the Vagrant wrapper any more and could just use Docker Machine (or whatever it is on Windows) with the Docker Compose file.)

Is this solved by using Docker provisioner?

---

<div class="post-metadata">

**Author:** ![sorcerer](https://openhealthhub.org/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@sorcerer](https://openhealthhub.org/u/sorcerer)\
**Post date:** [21 October 2019 15:14 UTC](https://openhealthhub.org/t/error-compiling-ripple-vagrant-docker-stack/2134/4 "2019-10-21T15:14:58Z")

</div>

Hello Marcus,  
Thanks for responding.  
Yes, indeed. Docker provisioner fixed the version issue.  
The versioning # is not hardcoded in vagrantfile. So, somewhere, the version # must be hard coded.  
Regards,  
Sorcerer
