6 ms·
Docker Compose Wrapper
- skrebbel 11y agoSo this is a wrapper around a wrapper around a wrapper around linux containers? Is there any level at which this ever becomes user friendly?
- redmar 11y agowe need to go deeper
- alexandrerond 11y agoMaybe you can wrap it again to make it user friendly?
- mpweiher 11y agoNeeds a middleware abstraction layer.
- pkaye 11y agoDocker... it's wrappers all the way down...
- storrgie 11y agosystemd-nspawn seems like it makes sense...
- dacompton 11y agoIs this a joke?
- cakes 11y agoI smiled to myself for a moment and that was immediately followed by that question.
- Myrmornis 11y agoI 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.
- alixaxel 11y agoI'm just smiling now. :)
- manojlds 11y agoThis might be more helpful -https://github.com/grammarly/rocker-compose https://github.com/grammarly/rocker-compose
- arez 11y agowould 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
- rmurri 11y agoI use https://github.com/michaelsauter/crane https://github.com/michaelsauter/crane. It has held up really well for me.
- heitortsergent 11y agoThere's also this one: https://github.com/azukiapp/azk https://github.com/azukiapp/azk
- ersoft 11y agoI'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 https://github.com/azukiapp/azk
- yahyaheee 11y agoWhat docker compose needs is a scheduler
- dominotw 11y agoyou can use it (with caveats) docker swarm.
- zimbatm 11y agoDoes 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.
- athyuttamre 11y agoYou could host a volume into your container containing the code base. Then use any standard live reloading library to make it work.
- sillypog 11y agoIf 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 https://github.com/sillypog/inotify-proxy
- zimbatm 11y agoDoes it mean that I need two docker compose, one for development and one for deployment ?
- athyuttamre 11y agoThat's correct. I have this setup at http://github.com/athyuttamre/signmeup http://github.com/athyuttamre/signmeup.
- markbnj 11y agoWe 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.
- frnhr 11y agoWrappers all the way down!