In about 2008 I bought a printer-scanner combination to act as a cheap scanner with automatic document feeder. It was a brother as it was said that it had god Linux support. I was disappointed when I've found out that I needed to install proprietary drivers. As the device was network enabled I've took a virtual box machine and installed the driver there to see how far I would get. I've got very far. Until today the driver in the VM works perfectly. It has survived several PCs and even more OS updates.
Right before creating another VM to freeze my Owncloud installation I've thought about the container and namespace stuff I was experimenting with and wondered if I've could put it into a container.
I didn't want to use docker for the container as
- every user that can start Docker container has implicit root
(so any malicious software that runs in your user context can
gain root access without a password)
- I wanted to learn what does Docker itself for containers and what is done by the Linux kernel
- Owncloud in a container
- Container and namespaces
- Getting the runtime files
- Device files
- Putting all together