Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker: invalid reference format. #13

Open
GhostInTheMachines opened this issue Oct 17, 2019 · 2 comments
Open

docker: invalid reference format. #13

GhostInTheMachines opened this issue Oct 17, 2019 · 2 comments

Comments

@GhostInTheMachines
Copy link

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
Copy link
Owner

Thank you for your report. Is this still happening?

@ricardoamaro
Copy link
Owner

ricardoamaro commented Dec 20, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants