Closed LucasRoesler closed 3 years ago
@alexellis i don't think this is ready until we update the README with instructions on how to use the docker image, but i always get confused about the networking. Perhaps you have a suggestion on the right way to run it.
For example, with docker swarm on your local machine, you can do
docker run --network=func_functions openfaas/certifier:latest -gateway=http://func_gateway:8080
But this presents an issue when running with auth, because you can just mount the local faas-cli config into the container because the gateway host names will be different, specifically, this doesn't work
docker run -v $HOME/.openfaas:/home/default/.openfaas --network=func_functions openfaas/certifier:latest -gateway=http://func_gateway:8080
I can see a binary distribution being useful, what are the pros of having a Docker image along with that?
What
Requires #58 Relates to #54 Relates to openfaas/faas#1585
Signed-off-by: Lucas Roesler roesler.lucas@gmail.com