Live data from Hacker News

The easiest way to use Docker on your Mac

kitematic.com

41–50 of 62 posts

Re: The easiest way to use Docker on your Mac

#41
post #11

Anyone can share their experiences with Kitematic?

I tried it out last time it showed up here. IIRC everything was tied to the registry (couldn't use my own non published images) so I went back to just using boot2docker.

I can start local images from the command line, but there isn't a gui thing for it.

Re: The easiest way to use Docker on your Mac

#42

I'll just go ahead and take the downvotes for suggesting that people who want to use Linux-technology, like Docker, within their OS should just use Linux as their OS. Yeah. Call me crazy, but I honestly think that makes a whole lot of sense.

]I've regularly experienced issues with not the development system not being the target system _within linux distros_. Just go the whole way and develop with the target environment isolated from your host system.

You're not running Linux, you are running _some version of Linux_.

Re: The easiest way to use Docker on your Mac

#43

I'll just go ahead and take the downvotes for suggesting that people who want to use Linux-technology, like Docker, within their OS should just use Linux as their OS. Yeah. Call me crazy, but I honestly think that makes a whole lot of sense.

And that's why I rent servers from digital ocean or linode. However, nobody has yet written http://selfcontrolapp.com/ for OS X but they have written xmonad (the thing that was keeping me on desktop Linux) for OSX. http://ianyh.com/amethyst/ And no, I can't write self-control on Linux for myself, because then circumventing it to read the news wouldn't require more patient thought than whatever I'm trying to focus on.…

Never heard of SelfControlApp but looking at it, it might be just what I need since I just started working remote a few months ago. Thanks for the link!

Re: The easiest way to use Docker on your Mac

#44

Earlier quoted context omitted.

You're using Docker Compose on Mac? I tried when it was still called Fig, and while it was wonderful for simplicity, the filesystem performance for VirtualBox/boot2docker made it brutal to use. My Rails apps in development mode (therefore serving up many individual assets) would take almost a minute to load each page. Has it gotten better, is there a trick you're using, or am I hitting an edge case you don't have?

>would take almost a minute to load each page VirtualBox filesystem performance isn't amazing, but it isn't anywhere near that bad. There was probably another issue involved here.

I really don't think so. You might just be underestimating the number of static asset files in a client-heavy web app before concat/minify ever happens. Watching the logs, you could see... each... little... file... take... way too long.

Re: The easiest way to use Docker on your Mac

#45

I'll just go ahead and take the downvotes for suggesting that people who want to use Linux-technology, like Docker, within their OS should just use Linux as their OS. Yeah. Call me crazy, but I honestly think that makes a whole lot of sense.

Why would I restrict myself to Linux if the tooling I prefer is only available on Mac? I guess if my entire workflow was terminal based then Linux would make sense but I'm more productive with Intellij, Kaleidoscope, Tower Git, iTerm, and my iTunes library of music. A vm running centOs and using docker let's me use my favorite tools and still leverage Linux as a deployment environment, how does that not make sense?

Then run Mac in a VM on Linux.

IntelliJ, Git, and music-listening developr here. On GNU/Linux.

It does not make sense because you stop yourself from knowin the inner workings of what you are targeting in your development efforts - eat your own poison so to say - CentOS - run CentOS. How hard can that be?

Re: The easiest way to use Docker on your Mac

#47

Earlier quoted context omitted.

You're using Docker Compose on Mac? I tried when it was still called Fig, and while it was wonderful for simplicity, the filesystem performance for VirtualBox/boot2docker made it brutal to use. My Rails apps in development mode (therefore serving up many individual assets) would take almost a minute to load each page. Has it gotten better, is there a trick you're using, or am I hitting an edge case you don't have?

>would take almost a minute to load each page VirtualBox filesystem performance isn't amazing, but it isn't anywhere near that bad. There was probably another issue involved here.

No, we ran into the same issues. When dealing with mid-sized Node.js projects in particular where the dependency tree may include something like 70k source files. `npm install` can take several minutes, builds on-save could take several seconds. We resolved to simply doing everything inside of a VM, using sshfs to "persist" the data out to the host machine on-demand for those uncomfortable using vim/tmux inside the VM.

Re: The easiest way to use Docker on your Mac

#48
post #35

Earlier quoted context omitted.

Tried starting a redis container, got this: 500 server error - No command specified

Hi there (I'm a Kitematic maintainer) - sorry you received an error. Was this from trying the official redis repo, or a different one?

Official redis repo. Downloaded it and the "Home" tab shows 500 server error, the other two tabs work fine.

Re: The easiest way to use Docker on your Mac

#49
post #45

Earlier quoted context omitted.

Why would I restrict myself to Linux if the tooling I prefer is only available on Mac? I guess if my entire workflow was terminal based then Linux would make sense but I'm more productive with Intellij, Kaleidoscope, Tower Git, iTerm, and my iTunes library of music. A vm running centOs and using docker let's me use my favorite tools and still leverage Linux as a deployment environment, how does that not make sense?

Then run Mac in a VM on Linux. IntelliJ, Git, and music-listening developr here. On GNU/Linux. It does not make sense because you stop yourself from knowin the inner workings of what you are targeting in your development efforts - eat your own poison so to say - CentOS - run CentOS. How hard can that be?

Or just go the other way around and let your toolchain reside on the host and your source code reside on a VM. I've always found that to be a more natural workflow: my VM remains a more pristine true-to-production environment and I'm not stifled by the oddness of doing 90% of my work in a virtual environment.

Re: The easiest way to use Docker on your Mac

#50
post #9

Previous discussion: https://news.ycombinator.com/item?id=8246240

What's your motivation for pointing this out? Just curious.

Do you want people to go talk about it on the other thread instead of this one? Or, are you trying to keep duplicate posts or comments off of HN? Or, something else?

Post reply on HN