From 3d54d68aa1f79cbfb2b5608ea23af80f8a42b927 Mon Sep 17 00:00:00 2001 From: darthrevan13 Date: Thu, 3 Nov 2016 15:45:59 +0200 Subject: [PATCH] Fix for mariadb local path When running docker-compose with mariadb the following message will appear: ERROR: for mariadb Cannot create container for service mariadb: Invalid volume spec "mariadb": Invalid volume destination path: 'mariadb' mount path must be absolute. ERROR: Encountered errors while bringing up the project. This commit fixes the issue. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 38409666..1c3b58cf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -128,7 +128,7 @@ services: mariadb: build: ./mariadb volumes: - - mariadb + - mysql:/var/lib/mysql ports: - "3306:3306" environment: