I have built my application image using docker.I need to deploy it on multiple servers.I came across this tool called dockerfig.I followed this link.http://www.slideshare.net/Docker/dockercon-europe2014weitingkuo. After generating all files when i run fig up command. I get this error:
Unsupported config option for web1 service: 'docker_host'
My fig.yml is like this.
web1:
build: .
docker_host: tcp ://54.148.161.124:2376
ports:
- "8080:8080"
web1:
build: .
docker_host: tcp ://54.148.26.84:2376
docker_cert_path: /home/ubuntu
docker_tls_verify: 1
ports:
- "8080:8080".
Can anybody tell me where exactly i am going wrong?