menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

ZEIT

Our mission is to make cloud computing as easy and accessible as mobile computing. You can find our Next.js community here.

Channels
Team

clarify future support of docker on now platform

November 8, 2018 at 6:21pm
The ZEIT community has a new home. This thread is preserved for historical purposes. The content of this conversation may be innaccurrate or out of date. Go to new community home →

clarify future support of docker on now platform

November 8, 2018 at 6:21pm
It seems zeit is moving away from allowing customers to utilize Docker as a common 'primitive'; would you kindly clarify this?
Show previous messages

November 10, 2018 at 9:43am
this is very concerning 🤔
this is very concerning 🤔
Ok guys - so I know it is not exactly polite to discuss other services in a chat that belongs to Zeit Now, but since Zeit is dressing nicely with its Lambda dress, for what I believe is a strategic move to get the attention of Amazon's acquisition team, and since it looks Docker will be gone forever from Now sometime soon, I feel obligated to share the results of my search for alternatives.
- Hyper.sh : even though it shares similarities to Now, it is much less user friendly. You need to worry about IPs and instance sizes, and the deployment process is quite painful and long. I managed to make it work, sometimes. One huge downside, is the fact that you need to have a docker image in DockerHub. After playing with it I cannot recommend it as an alternative, but it may still appeal to some people I guess.
- Docker on Heroku : I am a long time user of Heroku, using non-containerized applications. I just tried deploying one of my docker test apps to Heroku, and it was very easy and smooth, and even free. If anyone of you decides to go that route, I hope to save you some time by saying this: The only change you probably need to do to your Dockerfile, is to ensure your `CMD` uses the `$PORT` environment variable. This is the variable provided by Heroku, and the `EXPOSE` directive is ignored by Heroku.
Edited
like-fill
7
I have been using Docker in Google Cloud Container Service / Kubernetes, aside from the initial setup, everything has been flawless and I haven’t had any downtime in the last 3 months, pricewise, it is similar to Now v1
on demand version of now v1
How is the SSL configuration and aliasing of domains to instances? Those are things Now does quite well -- pretty easy to setup on GCP? I also feel a little bad discussing this on Zeit's forum, but it sounds like V2 won't fully do what V1 was capable of, so it's reasonable discussion to be had.
Edited
like-fill
2
Looks like https://aws.amazon.com/fr/fargate/ can be counted as an alternative. Any experience with this platform?
i think they just need to find a way to ”promote” the docket support of v1 into v2 so that the community knows we can count on Zeit to conti support Docker along side whatever cool and better stuff they are trying to push on it now. Given the current state of Docker and container hostings, i think Zeit will be missing out a lot should they decide to drop it completely.
back to your original question, right now I took the easy way and offer SSL support via cloudflare.
back to your original question, right now I took the easy way and offer SSL support via cloudflare.
and there is Lets Encrypt which also powers Now’s SSL...
but you won’t get Now’s seamless CDN and SSL on other providers
A quick look into Fargate pricing (https://aws.amazon.com/fargate/pricing/) vCPU's are $0.0506/hr, memory is $0.0127/gb/hr. So, it's pretty expensive.
2.0 seems like it will fantastic for many things I’ll likely use it for things in the future, but like so many others I’m currently using a Docker deployment for a client‘s Rails app. It’s fairly complicated but Docker makes it super easy to deploy.
Please, please keep Docker as a first class deployment option on Now.
like-fill
19
We know the benefits of Lamda, but what we all want to hear from you is that you will keep Docker support along with 2.0. Lambda will never be good for a Rails app and many other use cases.
like-fill
6
We currently use now for an angular app. Thanks to the Github integration, every commit on a PR is built and deployed. Since we have git submodules, we use Docker to build the app. What is your recommandation to upgrade to v2? Replace the submodule by npm pointing to the github repo/commit?

November 11, 2018 at 12:04am
I was hoping to move my rails app (old, but still serving 3 million reqs/month) from DigitalOcean to zeit now since it's using Dockerfiles, but now i'm not sure if I should. Will i just be forced to switch hosting provider in the next year or 2? Truly discouraged about the choice to make literally everything a lambda function
Can we just have a docker builder as part of the new platform? (best of both worlds)
like-fill
5
Then Now 2.0 deployment will be composition of docker builds, seems to replace Kubernetes and Swarm, hehe
Edited
like-fill
2
they’ve unfortunately already stated that they don’t plan to keep docker support (https://spectrum.chat/thread/96985341-e17f-4af4-a330-c726774ed436?m=MTU0MTcxMTUzNDYwMw==)
It may explain why Zeit chose to move away from containers
Even if they are discontinuing Docker, they should find a way to let us host it in a legacy mode... or are there not enough docker users on this platform for them to continue their docker hosting feature?
I get that the new way might be better and more optimised but I have a bunch of Docker images from clients and our previous work that will not be recoded to work with the new Lambda model...
Show more messages