Apples to oranges. LXC can be directly compared with a small, and quite insignificant, part of Docker: container runtime. Docker became popular not because it can run containers, many tools before Docker could do that (LXC included). Docker became popular because it allows one to build, publish and then consume containers.
LXC vs. Docker
11–20 of 147 posts
Re: LXC vs. Docker
#12I use LXC containers as my development environments. When I changed my setup from expensive Mac Books to an expensive work station with a cheap laptop as front end to work remotely this was the best configuration I found. It took me few hours to have everything running but I love it now. New project is creating a new container add a rule to iptables and I have it ready in few seconds.
Exposing the docker daemon on the network and setting DOCKER_HOST I’m able to use the remote machine as if it was local.
It’s hugely beneficial, I’ve considered making mini buildfarms that load balance this connection in a deterministic way.
Re: LXC vs. Docker
#13Earlier quoted context omitted.
I recently started using containerd inside Nomad, a breath of fresh and simple air after failed k8s setups!
Oh, Nomad looks interesting. Why should someone reach for it vs K8S?
Nomad is trying to be an orchestrator.
Kubernetes is trying to be an operating system for cloud environments.
since they aim for being different things they make different trade offs.
Re: LXC vs. Docker
#14I use LXC containers as my development environments. When I changed my setup from expensive Mac Books to an expensive work station with a cheap laptop as front end to work remotely this was the best configuration I found. It took me few hours to have everything running but I love it now. New project is creating a new container add a rule to iptables and I have it ready in few seconds.
FWIW I do the same thing but with docker. Exposing the docker daemon on the network and setting DOCKER_HOST I’m able to use the remote machine as if it was local. It’s hugely beneficial, I’ve considered making mini buildfarms that load balance this connection in a deterministic way.
Re: LXC vs. Docker
#15Re: LXC vs. Docker
#16Nothing stops one from running Docker inside LXC. For development I usually just make a dedicated priviledged LXC container with nesting enabled to avoid some known issues and painful config. LXC containers could be on a private network and a reverse proxy on the host could map to the only required ports, without thinking what ports Docker or oneself could have accidentally made public.
Re: LXC vs. Docker
#17Apples to oranges. LXC can be directly compared with a small, and quite insignificant, part of Docker: container runtime. Docker became popular not because it can run containers, many tools before Docker could do that (LXC included). Docker became popular because it allows one to build, publish and then consume containers.
Re: LXC vs. Docker
#18I haven't seen many examples demonstrating the tooling used to manage LXC containers, but I haven't looked for it either. Docker is everywhere.
Re: LXC vs. Docker
#19I like the docker way of one thing, one process, per container. LXC seems a bit different. However, an exciting thing to me is the Cambrian explosion of alternatives to docker: podman, nerdctl, even lima for creating a linux vm and using containerd on macos looks interesting.
Re: LXC vs. Docker
#20Is it accurate to say LXC is to Docker as git is to GitHub, or vim/emacs vs. Visual Studio Code? I haven't seen many examples demonstrating the tooling used to manage LXC containers, but I haven't looked for it either. Docker is everywhere.