Show HN: Slim – Build and run tiny VMs from Dockerfiles
1–10 of 144 posts
Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles
#2Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles
#3This has good potential, what are the limitations on the VM?
* If the size of the initrd is too large, it cannot properly unpack into vm's RAM --- size of RAM must be increased accordingly. We could also change [boot params](https://www.lightofdawn.org/blog/?viewDetailed=00128), or use shared disks, etc.
* For hyperkit, apple's vmnet requires sudo to create a bridge interface on host. We've played with a version that use's vpnkit and port forwarding (like linuxkit/Docker for Mac), but this adds lots of complexity in image, and opted for the simpler approach.
* We would like a better template mechanism for reusing base images and extending. Right now, we support using base image reuse, with extensions through docker buildargs---ideally, we would want something like %include support in Dockerfiles.
* Finally, we're investigating how to make images work well on multiple providers. For example, ubuntu does not play nice with hyperkit out-of-the-box, but works fine for vbox and kvm.
Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles
#4- https://micromind.me/en/posts/from-docker-container-to-boota...
Really like seeing these new usecases for containers -- would have never thought to mix the two technologies in this way.
Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles
#5This has good potential, what are the limitations on the VM?
Some limitations in terms of the vms and providers: * If the size of the initrd is too large, it cannot properly unpack into vm's RAM --- size of RAM must be increased accordingly. We could also change [boot params]( https://www.lightofdawn.org/blog/?viewDetailed=00128 ), or use shared disks, etc. * For hyperkit, apple's vmnet requires sudo to create a bridge interface on host. We've played with a version that use's…
Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles
#6Earlier quoted context omitted.
Some limitations in terms of the vms and providers: * If the size of the initrd is too large, it cannot properly unpack into vm's RAM --- size of RAM must be increased accordingly. We could also change [boot params]( https://www.lightofdawn.org/blog/?viewDetailed=00128 ), or use shared disks, etc. * For hyperkit, apple's vmnet requires sudo to create a bridge interface on host. We've played with a version that use's…
What about swarm mode and orchestration? Also I presume like LinuxKit, there will be configs for different clouds e.g. Digital Ocean and AWS run ISOs slightly differently.
Cloud-ready images is an important direction, and on the horizon.
Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles
#7This is a step in that direction. Cool stuff!
Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles
#8Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles
#9Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles
#10Really excited to play with this tonight