Hacker News new | ask | show | jobs
by forinti 921 days ago
LXC/LXD is similar to Jails. You have a directory with a whole distribution and a config file with a few details such as network setup and bind mounts.

It is much simpler than Docker. I think it's a better starting point if you want to learn about containers.

Just last week I tried LXC on Debian, but there was a conflict with iptables. I had more success with Ubuntu.

1 comments

> It is much simpler than Docker

Quite a bold statement, very much depends on the task and user's background.

For one, running things across your team members, team consisting of mixed Windows, Macos, Linux workstations/laptops, you can't rely on LXD be easily accessible (the same for Jails of course).

Running quick tests, one-shot tasks like

   docker run --rm -v "$(pwd):/sitespeed.io" sitespeedio/sitespeed.io:30.9.0 https://www.mysuperstartup-website.io/
Is easy peasy - friend of mine being SEO guy, could do this. No chances this can be done with LXD (jails of course is even worse for UX/DX - it's requires FreeBSD)