Docker-Toolbox: Error "invalid volume specification"

0

I have installed Docker Toolbox on Windows 10, and configured Redmine docker image from Bitnami.

I successfully run Redmine with docker-compose.

How to configure and access the plugins directory?

I have tried the following:

I have created a diredtory redmine-plugins and configured as shared folder in VirtualBox. Then configured the path for this directory in docker-compose:

version: '2'
services:
  mariadb:
    image: 'bitnami/mariadb:latest'
    environment:
      - ALLOW_EMPTY_PASSWORD=yes
    volumes:
      - 'mariadb_data:/bitnami'
  redmine:
    image: 'bitnami/redmine:latest'
    ports:
      - '80:3000'
    volumes:
      - 'redmine_data:/bitnami'
      - 'redmine-plugins:D:/redmine-plugins'
    depends_on:
      - mariadb
volumes:
  mariadb_data:
    driver: local
  redmine_data:
    driver: local
  redmine-plugins:
    driver: local

Then run docker-compose up -d

This error is displayed:

 Cannot create container for service redmine: b"invalid volume specification: 'redmine_redmine-plugins:D:/redmine-plugins:rw'"

GabrieleMartini

Posted 2019-09-24T12:06:18.313

Reputation: 412

No answers