ricardoamaro / drupal8-docker-app

App Container Drupal 8 in Docker serves as Drupal Trial for Linux/Mac/Windows users and as an Out-of-the-box Development Container
https://github.com/ricardoamaro/drupal8-docker-app
GNU General Public License v3.0
88 stars 52 forks source link

docker: invalid reference format. #13

Open GhostInTheMachines opened 4 years ago

GhostInTheMachines commented 4 years ago

Issue: After cloning the repo, entering the drupal8-docker-app directory and attempting to run the batch file drupal8_local.bat, the error "docker:invalid reference format" is returned.

Environment: Windows Pro 10 Build 18990.vb_release.190921-1704 Running the command from a Powershell console window

Total output is: A subdirectory or file \web already exists. A subdirectory or file \data already exists. Starting Drupal using persistence on / folder Using MYSQL PORT: 33875 Using HTTP URL : http://localhost:35230 docker: invalid reference format. See 'docker run --help'.

It looks like there is a problem with the second mount here i.e. --volume=%cd%\%1\data:/var/lib/mysql --volume=%cd%\%1:/var/www/html should have a local\web mounting to /var/www/html

ricardoamaro commented 4 years ago

Thank you for your report. Is this still happening?

ricardoamaro commented 4 years ago

@lsantos-oq could you please have a look at this? Maybe have a look at https://docs.docker.com/compose/reference/envvars/#/composeconvertwindowspaths