Jas
Jas

Reputation: 415

Problem trying to running Guacamole with Docker

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!

Upvotes: 0

Views: 1090

Answers (1)

Jas
Jas

Reputation: 415

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.

Upvotes: 1

Related Questions