• 0 Posts
  • 84 Comments
Joined 2 years ago
cake
Cake day: June 18th, 2023

help-circle
  • Depends on what you’d want. A dockerfile defines how the image is built. If you want to mimic this then you need scripts.

    But I think you could benefit from learning how docker works from the ground up if you want to recreate docker inages in lxc.

    Better use is a dedicated docker host (a vm) and run your non-docker on lxc. Treat lxc as a minimal vm for one ( or a few) services/apps per lxcontainer


  • That depend on how much work you have to do to keep it working.

    Let’s take a fairly common webserver like Caddy. Now you can install this through docker, or natively on linux.

    If the app only exists as docker image then it cones down to your ability or recreating what the dockerfile does to get it installed on your lxc container.

    Fun fact: early editions of docker used lxc for its containers.




  • There are big differences between these two technologies. LXC is closer to a virtual machine than a docker setup. You could mimic most of a dockerfile if you wanted, but it’s not a replacement.

    Most of us will use a mix og docker-hosts(vm’s running docker) and lxc. Reasons for this is that some stuff is easier to maintain in docker as it’s the preferred release channel.

    You can also move vm’s to other datacenter hosts if needed - and with shared storage this is quick and mean no downtime. Lxc are stuck on the host.






  • Just picked up swing - we’re just starting our 50’s and I never learned to dance. Two short courses this autumn and back again in january for 3 more until april.

    There are dace-halls and clubs, but here in Norway its kinda fringe culture so you need to look for it. No fancy nightclubs or stuff like that as far as I know that have dance floors and music. There are huge dance parties in sports halls and the likes in the weekends. But they are far out and about.