Earlier quoted context omitted.
So why was Docker needed to create a lightweight VM? I thought Docker was supposed to replace VMs.
Working with VM images was PITA, I don't know if anything changed. Having recipe (Dockerfile) and required files in VCS is useful as reference even when setting up bare metal machines. So Docker (and Puppet/Ansible) might have bigger impact on work organisation than on anything else.
Show HN: Slim – Build and run tiny VMs from Dockerfiles
51–60 of 144 posts
Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles
#52Earlier quoted context omitted.
What for? It's just glue code, it doesn't actually run the micro-VMs.
Because I don't want to have to install the massive nodejs runtime just to glue things together.
docker run -it --entrypoint /bin/sh -v $PWD:/bla -v /run/docker.sock:/run/docker.sock node:12
apk add git docker cdrkit libvirt-daemon qemu-system-x86_64
npm install https://github.com/ottomatica/slim
cd /bla && /node_modules/.bin/slim
Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles
#53Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles
#54Earlier quoted context omitted.
Docker images contain a filesystem for an operating system, minus the OS kernel. This project uses Docker to build a tiny OS, extracts all the files out of the Docker image, adds a small OS kernel and re-packages that as a VM image.
So why was Docker needed to create a lightweight VM? I thought Docker was supposed to replace VMs.
Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles
#55Earlier quoted context omitted.
What for? It's just glue code, it doesn't actually run the micro-VMs.
Because I don't want to have to install the massive nodejs runtime just to glue things together.
Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles
#56Wait a minute. I thought Docker was useful because you didn't want to run a whole VM. But this project turns a Dockerfile into a VM specification? Have we come full circle?
I'm not sure what the value of this is.
Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles
#57Earlier quoted context omitted.
So why was Docker needed to create a lightweight VM? I thought Docker was supposed to replace VMs.
Working with VM images was PITA, I don't know if anything changed. Having recipe (Dockerfile) and required files in VCS is useful as reference even when setting up bare metal machines. So Docker (and Puppet/Ansible) might have bigger impact on work organisation than on anything else.
So far so good, for individual/standalone containers. But if you need thightly integrated containers (sharing networks, volumes, ports and so on) things may be a bit more complicated. And not sure about Kubernetes. YMMV
Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles
#58Earlier quoted context omitted.
Forgive my lack of technical depth, but is it actually running client-side, in the memory allocated to my newly-opened browser tab, or on bellard.org's server and syncing the input/output to my browser?
Technical depth? Did you click the link? > Run Linux or other Operating Systems in your browser! It runs in your browser. If you clicked the link you would also see demo links that run in your browser.
Such as gaming SaaS thingies.
Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles
#59Earlier quoted context omitted.
What for? It's just glue code, it doesn't actually run the micro-VMs.
Because I don't want to have to install the massive nodejs runtime just to glue things together.
Or, do you only run software hand crafted in assembly?
Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles
#60Dockerfile > slim > iso