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?

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:

Where Next?

Popular in Discussions Top

blackode
Elixir Upgrading is so Simple in Ubuntu and It worked for me Ubuntu 16.04 git clone https://github.com/elixir-lang/elixir.git cd elixir...
New
jeramyRR
This is an interesting article to read. Elixir’s performance, like usual, is excellent. However, it seems like the high CPU usage is co...
New
thojanssens1
It would be nice to be able to define a redirect from one route to another from the router.ex file. E.g.: redirect "/", UserController, ...
New
praveenperera
How We Replaced React with Phoenix By: Thought Bot
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
hazardfn
I suppose this question is effectively hackney vs. ibrowse but we are at a point in our project where we have to make a choice between th...
New
PragTob
Hey everyone, this has been on my mind for some time and I’d love your input on it! TLDR: I feel like maps are superioer for storing and...
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
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
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

senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
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
chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 30877 112
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
Lily
In templates/appointment/index.html.eex: <%= for appointment <- @appointments do %> <tr> <td><%= appoi...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

We're in Beta

About us Mission Statement