Laradock: Error when creating phpmyadmin

Created on 8 Nov 2016  路  3Comments  路  Source: laradock/laradock

When running docker-compose up -d mysql phpmyadmin I get this error:

ERROR: for phpmyadmin Cannot create container for service phpmyadmin: Invalid volume spec "phpmyadmin": Invalid volume destination path: 'phpmyadmin' mount path must be absolute.
ERROR: Encountered errors while bringing up the project.

Everything else builds and runs fine except for phpmyadmin.

Possible Bug

Most helpful comment

Hi @danielsdeboer :

  1. Open your laradock/docker-compose.yml file
  2. Find phpmyAdminContainer Setting
  3. Change volumes: - phpmyadmin into - phpmyadmin:/www/config.user.inc.php

All 3 comments

@danielsdeboer I will take this.

Hi @danielsdeboer :

  1. Open your laradock/docker-compose.yml file
  2. Find phpmyAdminContainer Setting
  3. Change volumes: - phpmyadmin into - phpmyadmin:/www/config.user.inc.php

@korneliuskristianr Thanks, that worked great, the container is starting as expected with that change.

Was this page helpful?
0 / 5 - 0 ratings