0

I'm following this youtube tutorial. I have everything working fine until minute 8:00 when the video author copy and paste this command:

docker run --name guacamole --link guacd:guacd --link guac-mysql:mysql \ -e MYSQL_DATABASE='guacamole' \ -e MYSQL_USER='guacamole' \ -e MYSQL_PASSWORD='sqlpassword' \ -d -p 8080:8080 guacamole/guacamole

After it I'm having the annoying:

docker: invalid reference format. see 'docker run --help'

I have tried other answers like this and this

Please, if someone knows how to overcome this problem give me help.

Thx!

Jas
  • 385
  • 7
  • 22

1 Answers1

1

Got it! Spacing was the problem.

I used

docker run --name guacamole^
  --link guacd:guacd^
  --link guac-mysql:mysql^
  -e MYSQL_DATABASE='guacamole'^
  -e MYSQL_USER='guacamole'^
  -e MYSQL_PASSWORD='sqlpassword'^
  -d -p 8080:8080 guacamole/guacamole

where (^) is my line breaker.

Jas
  • 385
  • 7
  • 22