3 ms·
Because a password manager is a tiny piece of software. Instead, it is now a multi-component black box installation with a general purpose operating system runn
by atemerev 4y ago
Because a password manager is a tiny piece of software. Instead, it is now a multi-component black box installation with a general purpose operating system running on a full-scale Linux machine with a containerization platform designed for datacenters.
I am not a fan of this kind of redundancy and opaqueness.
- hk1337 4y agoBitWarden isn't all that tiny. I am pretty sure the main reasons for the docker container is that is built with dotnetcore and uses sql server for its database. BitWarden is complicated to install for self-hosting as opposed to using it on PiZero. That said, I am skeptical of running it on a PiZero. I could see running it on a Pi3 or Pi4 where I can leave it connected to my network and cron backups to a NAS. The BitWarden documentation itself shows 12 containers running. https://bitwarden.com/help/install-on-premise-linux/ https://bitwarden.com/help/install-on-premise-linux/
- bheadmaster 4y agoWhen you put it that way, I agree - a password manager should really be implementable as a single statically linked binary. There seem to be some other Docker features used, like healthcheck [0], and MariaDB seems to be installed, too, so it might be worth considering how much additional OS-dependent complexity would the equivalent functionality without using Docker require. At the very least, you need some kind of service manager to run your program on boot, and restart it on error. At that point, Docker may as well be used as a glorified service manager - just slap your static binary in a `FROM scratch` container, and you're done. > I am not a fan of this kind of redundancy and opaqueness. Me neither. But I wouldn't blame Docker itself - it's just a tool. If it wasn't for Docker, some other way of circumventing good engineering would be found :-) [0] https://github.com/dani-garcia/vaultwarden/blob/main/docker/arm64/Dockerfile#L147 https://github.com/dani-garcia/vaultwarden/blob/main/docker/...
- jorvi 4y agoReminds me of someone writing a little status light app (in the macOS menu bar / windows tray) and choosing Electron for that. Something ridiculous like 200MB+ install size and 150MB memory use.
- yazzku 4y agoIt's like the old OOP banana/jungle quote but dialed to 11.
- bheadmaster 4y agoYou wanted a banana, but what you've got is a monkey holding a banana, the whole jungle, the continent on which the jungle is growing, the atmosphere for holding evaporated water for irrigating the jungle, the Sun for providing energy to the jungle trees, and the whole universe.