Live data from Hacker News

The easiest way to use Docker on your Mac

kitematic.com

11–20 of 62 posts

Re: The easiest way to use Docker on your Mac

#13
post #3

I wanted to use Kitematic as a way to get our non-CLI savvy designers up and running with our software stack on docker. They key feature missing IMO is the ability to "open" a docker-compose.yml file. I want the ability for a designer to select "file open" and then select the docker-compose.yml file to "launch" our stack. Without that, it seems like you still need to rely on the docker-cli to build images from a Dock…

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?

Re: The easiest way to use Docker on your Mac

#14
I tried Kitematic briefly and it seemed fairly buggy. I also was getting some kind of conflict between it and the command line tools with boot2docker. I just stopped using it and moved straight to boot2docker.

Your other options on Mac are Vagrant's docker provider -- which is nice, but I agree in general with the sentiment that it is even nicer to just use Linux natively.

Re: The easiest way to use Docker on your Mac

#16

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 will play devil's advocate to your comment and say that it's my impression that the benefits of Docker are such that I can use whatever I want, including OS X, and let the containers be whatever OS suits them. So if I want to do my primary development on a Mac but my prod environment is CentOS, it doesn't really matter since my container is Ubuntu anyway. And I get to use my nice, native toolchain for development, like BBEdit, or whatever I really want.

Re: The easiest way to use Docker on your Mac

#17

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.

Well, they more or less are, but in a VM. It's what I do from my Windows desktop dev box. When I'm working at my Fedora workstation, again, everything lives inside a VM so that I don't accidentally pollute my target environment, or my workstations.

Re: The easiest way to use Docker on your Mac

#18

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 will play devil's advocate to your comment and say that it's my impression that the benefits of Docker are such that I can use whatever I want, including OS X, and let the containers be whatever OS suits them. So if I want to do my primary development on a Mac but my prod environment is CentOS, it doesn't really matter since my container is Ubuntu anyway. And I get to use my nice, native toolchain for development,…

But containers aren't completely isolated. In particular, they share a kernel with the host OS. (And the file system, I think?) So you need to have software built with the right system calls, not to mention compiled for the right hardware architecture.

Re: The easiest way to use Docker on your Mac

#19
post #3

I wanted to use Kitematic as a way to get our non-CLI savvy designers up and running with our software stack on docker. They key feature missing IMO is the ability to "open" a docker-compose.yml file. I want the ability for a designer to select "file open" and then select the docker-compose.yml file to "launch" our stack. Without that, it seems like you still need to rely on the docker-cli to build images from a Dock…

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?

Yeah, the filesystem for VBox got significantly better (use to have to use a custom ISO to get volume shares to work properly).

We haven't had a problem since the Docker 1.3 update.

Re: The easiest way to use Docker on your Mac

#20
post #3

I wanted to use Kitematic as a way to get our non-CLI savvy designers up and running with our software stack on docker. They key feature missing IMO is the ability to "open" a docker-compose.yml file. I want the ability for a designer to select "file open" and then select the docker-compose.yml file to "launch" our stack. Without that, it seems like you still need to rely on the docker-cli to build images from a Dock…

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.

Post reply on HN