StefanHoutzager

StefanHoutzager

Docker, does it have value to you

Just read some criticism https://forum.elixirforum.com/t/what-can-we-do-to-accelerate-the-adoption-of-elixir/2398/120
Just googled: http://www.boycottdocker.org/
What do you think?

First Post!

AstonJ

AstonJ

For me personally, no.

The only reason I use it is because Discourse does not work without it. I’ve also experienced first hand that it is far from perfect (it lost us around 30 days of posts on MetaRuby because an older container was in ‘limbo’ yet everything appeared to be working fine).

I would not use it for any of my own projects and I can’t really see why anyone would want to use it when a server can handle multiple sites/apps with ease. I can see why software vendors like Discourse would use it as they don’t have to support lots of OS’s, configs etc, but for everyone else, I really do question the value.

Here is a fairly big thread on Docker & Elixir that you might also find of interest:

Most Liked

bobbypriambodo

bobbypriambodo

I use Docker in my dev environment. Points being:

  1. You dev machine doesn’t need to have dependencies other than Docker
  2. With Docker Compose I can easily grasp what other services (DBs, whatnots) that my app needs.
  3. I use OSX and most likely will need to deploy to Linux servers, so I use containers to build releases.

My first project (a Phoenix API) used Docker for deployment too, simply because the rest of the project was using it (and the ops team asked me to). As I watch and read many materials about Elixir, Erlang, and OTP, I have doubts; seems to me that Erlang/OTP provides many distribution and fault tolerance features that doesn’t play well if we’re using Docker (mainly because, yeah, the networking).

But I think I still wouldn’t dump Docker for my dev env :smile: It’s so cheaper than VMs.

sasajuric

sasajuric

Author of Elixir In Action

I use it for my blog, and we use it at work. I like that I can neatly separate build-time and run-time dependencies, and manage server setups. I also like that I can get something very similar to production on my dev machine. The ability to start multiple instances of the same image also works nicely for us, allowing each member of the team to have their own private deployment of production on the same server. We could do it without containers, but it’s quite simple with docker run.

I’m personally not much of a fan of elaborate ecosystem around Docker, such as CoreOS or Kubernetes. It feels to me as a quite complex emulation of what Erlang can handle directly.

andre1sk

andre1sk

[quote=“sasajuric, post:5, topic:2513”]
I’m personally not much of a fan of elaborate ecosystem around Docker, such as CoreOS or Kubernetes. It feels to me as a quite complex emulation of what Erlang can handle directly.
[/quote] X 100 :slight_smile: looking at startups wasting resources deploying super elaborate systems around k8s, mesos, terraform is maddening :slight_smile:

Last Post!

pancake

pancake

Sure. For about 4-5 years now, my stack looks like this:

Right now I use AWS for all projects.

edit: I forgot to mention that I’m working mostly with python projects, but Elixir projects fit this stack too :slight_smile:

Where Next?

Popular in Discussions Top

restack_oslo
Hello, Please pardon me for any faux paux. I am 46 and this is my first time on a forum of any kind. I wanted to to get answers from tho...
New
sergio
There’s a new TIOBE index report that came out that shows Elixir is still not in the top 50 used languages. It also goes on to call Elix...
New
PragTob
Hey everyone, this has been brewing in my head some time and it came up again while reading Adopting Elixir. GenServers, supervisors et...
New
pdgonzalez872
If this has been asked here before, please point me to where it was asked as I didn’t find it when I searched the forum. Maybe a mailing ...
New
eteeselink
Hi all, In the last days, two things happened: A blog post titled “They might never tell you it’s broken” made the rounds. It’s about ...
New
pillaiindu
I want to convert a Phoenix LiveView CRUD website to a CRUD mobile app. What do you think is the easiest way to do so?
New
AstonJ
Can you believe the first professionally published Elixir book was published just 8 years ago? Since then I think we’ve seen more books f...
New

Other popular topics Top

electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New

We're in Beta

About us Mission Statement