Live data from Hacker News

Bootstrapping the open-source Sandbox on top of Docker

blog.dotcloud.com

11–16 of 16 posts

Re: Bootstrapping the open-source Sandbox on top of Docker

#11
post #8

Earlier quoted context omitted.

Hell, I do significant amounts of server/Linux work, and still don't understand Docker (it doesn't help that I haven't been able to run it because btrfs). I understand that it's a lightweigth container, but what's the advantage? Aren't images still 2+ GB? Do I have to version the entire FS instead of 2-3 config files? Can I freeze it? Can I push it to a server? How long will that take? Can I use the same image on dev…

You don't need to have btrfs to run Docker (you need aufs which is included in Debian and Ubuntu). Yes, in the end images are an entire filesystem and can be large if you installed a lot of packages (or very small, e.g: busybox). Yes, you can freeze it: you can commit a container as a new image. Yes, you can push it to a server ( https://index.docker.io/ ). Yes, you can use the same image for development, staging and…

Ah, that clears things up a bit, thanks. However, Docker currently has a bug that prevents it from running on btrfs, which I'm running on.

Re: Bootstrapping the open-source Sandbox on top of Docker

#13

Earlier quoted context omitted.

You don't need to have btrfs to run Docker (you need aufs which is included in Debian and Ubuntu). Yes, in the end images are an entire filesystem and can be large if you installed a lot of packages (or very small, e.g: busybox). Yes, you can freeze it: you can commit a container as a new image. Yes, you can push it to a server ( https://index.docker.io/ ). Yes, you can use the same image for development, staging and…

Ah, that clears things up a bit, thanks. However, Docker currently has a bug that prevents it from running on btrfs, which I'm running on.

Oh, I'm not aware of this bug, are you talking about https://github.com/dotcloud/docker/issues/339 ? In any case, don't hesitate to open a new issue on github!

Re: Bootstrapping the open-source Sandbox on top of Docker

#14

Earlier quoted context omitted.

Ah, that clears things up a bit, thanks. However, Docker currently has a bug that prevents it from running on btrfs, which I'm running on.

Oh, I'm not aware of this bug, are you talking about https://github.com/dotcloud/docker/issues/339 ? In any case, don't hesitate to open a new issue on github!

Yep, that's the one!

Re: Bootstrapping the open-source Sandbox on top of Docker

#15
post #7
post #3

I think this is pretty cool. As a front end developer I would like to see this mature into a project which "makes my life easier", and currently, one of the biggest pains, I think is setting up a nginx or apache project with the right WSGI directives. What I would love to see this develop into is a way to get my code pretty much straight from my IDE to a server of my own (whether hardware or virtual). I know it is ve…

Try this: http://www.korokithakis.net/posts/example-provisioning-and-d... You can go from fresh installation to complete Django stack in one command.

Right. I can write a script to go from fresh installation to deploy in one command using Vagrant, Puppet, Chef, Ansible.

But the reason why so many people like PaaS such as Heroku and dotCloud is actually that there is /one/ recommended way to structure your app (at least, what to put in wsgi and so forth). It's about making it easy to go from code to package to deployment.

Re: Bootstrapping the open-source Sandbox on top of Docker

#16
post #9
post #6

Can someone give me a rundown on the general idea of Docker? I'm a programmer, don't do much server/linux work (OS X is my OS), so I'm not quite understanding. > Docker is an open-source engine which automates the deployment of applications as highly portable, self-sufficient containers which are independent of hardware, language, framework, packaging system and hosting provider. What does this mean? Someone sets up…

It's really an set of tools for lxc. Create "images", boot them, and have a sandboxed execute environment for some service(s). There are repositories with services pre installed. You can get a service running with a command like: docker run -h myhost -t repo/redis-image redis-server That creates a container based on the repo/redis-image image, and runs the command "redis-server" once it boots (less than a second on m…

Oh that's actually really neat. I'll have to look into it more, but it's a shame there's nothing available for OS X for me to play with on my local machine.
Post reply on HN