News for hackers. Stuff that matters.
Re:Docker Compose Wrapper by skrebbel on Saturday March 12, 2016 @07:20AM (#11272556)
So this is a wrapper around a wrapper around a wrapper around linux containers? Is there any level at which this ever becomes user friendly?
Re:Docker Compose Wrapper by alexandrerond on Saturday March 12, 2016 @07:24AM (#11272569)
Maybe you can wrap it again to make it user friendly?
Re:Docker Compose Wrapper by storrgie on Monday March 14, 2016 @09:22AM (#11282693)
systemd-nspawn seems like it makes sense...
Re:Docker Compose Wrapper by mpweiher on Saturday March 12, 2016 @09:05AM (#11272900)
Needs a middleware abstraction layer.
Re:Docker Compose Wrapper by redmar on Saturday March 12, 2016 @07:24AM (#11272568)
we need to go deeper
Re:Docker Compose Wrapper by pkaye on Saturday March 12, 2016 @09:18AM (#11272959)
Docker... it's wrappers all the way down...
Re:Docker Compose Wrapper by manojlds on Saturday March 12, 2016 @08:33AM (#11272782)
Re:Docker Compose Wrapper by arez on Saturday March 12, 2016 @09:17AM (#11272949)
would you recommend it over docker-compose? Because I'm really searching for an alternative and it's in go, that's even better for me
Re:Docker Compose Wrapper by ersoft on Saturday March 12, 2016 @10:54AM (#11273261)
I'm using azk[0] for my development workflow with 30+ services defined in one Azkfile.js. It automatically setups http load balancers and dns services for you, no need for container linking.

[0] https://github.com/azukiapp/azk

Re:Docker Compose Wrapper by rmurri on Saturday March 12, 2016 @09:26AM (#11272985)
I use https://github.com/michaelsauter/crane.

It has held up really well for me.

Re:Docker Compose Wrapper by heitortsergent on Saturday March 12, 2016 @10:52AM (#11273255)
There's also this one: https://github.com/azukiapp/azk
Re:Docker Compose Wrapper by dacompton on Saturday March 12, 2016 @07:38AM (#11272611)
Is this a joke?
Re:Docker Compose Wrapper by Myrmornis on Saturday March 12, 2016 @02:06PM (#11274016)
I sympathize with this question but I think this thread is actually mocking someone's well-intentioned and serious project. Personally I have at minimum a "dc" alias and I can totally see how one might start evolving that into a shell wrapper to make your common tasks less verbose. But perhaps the author envisioned it saving more typing and being more generally useful than it is, and also under-estimated the importance of the increased surface for errors and bugs that the project brings.
Re:Docker Compose Wrapper by cakes on Saturday March 12, 2016 @08:12AM (#11272720)
I smiled to myself for a moment and that was immediately followed by that question.
Re:Docker Compose Wrapper by yahyaheee on Saturday March 12, 2016 @10:20AM (#11273141)
What docker compose needs is a scheduler
Re:Docker Compose Wrapper by dominotw on Saturday March 12, 2016 @11:04AM (#11273300)
you can use it (with caveats) docker swarm.
Re:Docker Compose Wrapper by zimbatm on Saturday March 12, 2016 @11:06AM (#11273308)
Does any of these solutions give me back live-reload when developing web apps on OSX ?

As far as I know the code is uploaded into the container and only gets replaced when the image is re-created. At which point there are issues with private git dependencies because it can't access the SSH_AUTH_SOCK.

Re:Docker Compose Wrapper by markbnj on Saturday March 12, 2016 @02:15PM (#11274054)
We run containers locally for components that our code needs, i.e. if the code needs redis, or elasticsearch or whatever it's easier to spin up a local container, keeps the dev system free of clutter, and what you're running can often be the same or very close to what is in prod. For our own code, why should it care whether it is running in a container or not? We develop locally on the host and package into a container at deployment.
Re:Docker Compose Wrapper by athyuttamre on Saturday March 12, 2016 @11:44AM (#11273431)
You could host a volume into your container containing the code base. Then use any standard live reloading library to make it work.
Re:Docker Compose Wrapper by sillypog on Saturday March 12, 2016 @01:03PM (#11273769)
If the live reloading library relies on inotifywait, it won't detect changes made on the OSX side across the volume due to issues with Virtual Box. I made a utility that I run in my container while I'm developing to trigger these events: https://github.com/sillypog/inotify-proxy
Re:Docker Compose Wrapper by zimbatm on Saturday March 12, 2016 @01:08PM (#11273790)
Does it mean that I need two docker compose, one for development and one for deployment ?
Re:Docker Compose Wrapper by athyuttamre on Monday March 21, 2016 @07:51PM (#11333256)
That's correct. I have this setup at http://github.com/athyuttamre/signmeup.
Re:Docker Compose Wrapper by alixaxel on Saturday March 12, 2016 @07:41AM (#11272622)
I'm just smiling now. :)
Re:Docker Compose Wrapper by frnhr on Saturday March 12, 2016 @11:10AM (#11273319)
Wrappers all the way down!