You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update - This error is due to a docker stack not being deployed on localhost:8080, or another docker service already occupying that address and port. I had a service running on localhost:8080, so I removed it, and ran the ./deploy_stack.sh script in the faas/ repository, which set up a single node docker swarm cluster on my local machine, enabling me to deploy a function with faas-cli.
When attempting to deploy a function with
faas-cli -action deploy -f ./urlping.yaml
I get the following error message:The file, urlping.yaml, is as described in the README.md example file.
This happens with both the faas-cli downloaded from https://cli.openfaas.com, or one which I have compiled from this repo.
Expected Behaviour
Deploys function
Current Behaviour
Produces output pasted above
Possible Solution
Steps to Reproduce (for bugs)
faas-cli -action deploy -f ./urlping.yaml
faas-cli -action deploy -f ./urlping.yaml
Context
Your Environment
docker version
(e.g. Docker 17.0.05 ):17.06.1-ce
no
ubuntu 16.04
The text was updated successfully, but these errors were encountered: