5 ms·
I mentioned Docker because it interests many developers but on VMs that I control I do not need Docker at all. Deploying with Docker provides host OS independen
by ghomem 2y ago
I mentioned Docker because it interests many developers but on VMs that I control I do not need Docker at all. Deploying with Docker provides host OS independence which is nice if you are distributing but unnecessary if the host is yours, running a fixed OS.
For Python backends I often deploy the code directly with a Puppet resource called VcsRepo which basically places a certain tag of a certain repo on a certain filesystem location. And I also package the systemd scripts for easy start/stop/restart. You can do this with other config management tools, via bash or by hand, depending on how many systems you manage.
What bothers me with your question is Pip :-) But perhaps that is off topic...?
- Gud 2y agoNo, you are tied to docker supported operating systems. Will not run on FreeBSD, for example.
- ghomem 2y agoI'll correct myself: s/host OS independence/a certain level of host OS independence And getting containers to run depends on the OS - if you don't control the host, leads to major ping-pongs. Even within Linux (Ubuntu, Debian, RHEL, etc) when you are distributing multiple related containers there are details to care about, not about the container itself but about the base OS configuration. It's not magic.
- ffsm8 2y ago> No, you are tied to docker supported operating systems No, you're tied to operating systems using a Linux kernel that supports the features necessary for running images.
- Gud 2y agoYou can run Linux under FreeBSD using either bhyve, using the Linux emulator and under jails. But you cannot run docker.
- BSDobelix 2y ago>But you cannot run docker. You can -> Podmaaan https://podman.io/docs/installation#installing-on-freebsd-140 https://podman.io/docs/installation#installing-on-freebsd-14... ATM experimental
- deleted 2y ago[deleted]
- dlisboa 2y agoOP is talking about substituting a Kubernetes setup. FreeBSD was never in the cards. 99% of companies in the cloud don’t run or care about anything other than Linux.
- Gud 2y agoThat may be true, but it’s still not “host OS independence”, which was my point
- BSDobelix 2y ago>Will not run on FreeBSD, for example. Not true: https://podman.io/docs/installation#installing-on-freebsd-140 https://podman.io/docs/installation#installing-on-freebsd-14... ATM experimental