Hello everyone !
Why does the the input to connect to my DB (for HA) is outputing this errror ?
Can someone kindly help me ?
$ sudo docker run -d -p 8080:8080
-e CATTLE_DB_CATTLE_MYSQL_HOST=10.10.10.1
-e CATTLE_DB_CATTLE_MYSQL_PORT=3306
-e CATTLE_DB_CATTLE_MYSQL_NAME=cattle
-e CATTLE_DB_CATTLE_USERNAME=user
-e CATTLE_DB_CATTLE_PASSWORD=password
-v /var/run/docker.sock:/var/run/docker.sock
rancher/server:v1.0.1
[1] 3591
-bash: rancher/server:v1.0.1: No such file or directory
[rancher@vm-rancher ~]$ docker: “run” requires a minimum of 1 argument.
See ‘docker run --help’.
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG…]
Run a command in a new container
[1]+ Exit 1 sudo docker run -d --restart=always -p 8080:8080 -e CATTLE_DB_CATTLE_MYSQL_HOST=10.10.10.1 -e CATTLE_DB_CATTLE_MYSQL_PORT=3306 -e CATTLE_DB_CATTLE_MYSQL_NAME=cattle -e CATTLE_DB_CATTLE_USERNAME=user -e CATTLE_DB_CATTLE_PASSWORD=passwd
Thank you.