Skip to content
This repository has been archived by the owner on Sep 19, 2021. It is now read-only.

0.1.3

Compare
Choose a tag to compare
@tiangolo tiangolo released this 09 Nov 20:22
· 16 commits to master since this release

Now the shared folders are mounted in two directories inside the VirtualBox virtual machine to make it compatible with docker-compose.

You can start and set up babun-docker and all the shared folders with any docker command, as:

docker ps

And have a docker-compose.yml file with:

version: '2'
services:
  server:
    build: ./server
    volumes:
      - ./server/app:/app
    ports:
      - 8081:80

...note the relative mounted volume in ./server/app:/app.

And then bring up your stack with:

docker-compose up -d

and it will work (because the shared folder paths that docker-compose uses are also mounted in the virtual machine).