Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Docker Swarm issue - Address in use (upstream issue) #33
When re-deploying a function (aka Docker Swarm Service) we can get an error "Address in use - unable to allocate container" or similar.
I've raised the issue upstream but it's been open 30 days already. I don't believe the issue occurs when using Kubernetes as a back-end.
The Docker swarm work-around appears to be to deploy again after a few seconds or to use
I think this might also be fixed with a restart policy of > 1.
I'll update the Python blog post with a few notes on troubleshooting & logs. https://blog.alexellis.io/first-faas-python-function/