Docker VS VM VS No containerization or virtualization

Docker VS VM VS No containerization or virtualization

Attached: download.png (607x536, 92.67K)

Yes

you are a stupid faggot. run the code on the computer.

WDYM

Containers have less overhead than VMs and can be used to not affect the host system.

Containers win.

Production belongs in bare metal.
Everything that is non-prod belongs to a paper prototype.

NixOS containers win :).
Has all the advantages of docker containers, except it shares the packages of the system

Attached: 68747470733a2f2f692e696d6775722e636f6d2f367146436c41312e706e67.png (512x512, 28.01K)

Everything on a baremetal windows server 2008R2 server. fuck you.

2 hard 4 me
No fuck you for using shitdows server

Whatever is the best for your specific use case, architecture and teams

npc answer

Depends
>Tor hidden service
Whonix VM
>NextCloud/Syncthing/etc.
Container

Containers also have less performance since they don't have direct access to hardware. So for containers, most of the time they are running on VMs, so you have two abstraction layers to go through.
The benefits of Containers only really come into play when using an orchestration platform like kubernetes.
Those benefits are really centered around declarative state management and rapid deployment cycles using GitOps

>download images
>deploy them
>configure them
>communicate with each other
>"perfect"
>turn them off
>turn them on
>all changes lost
>"ok, I understand the rules"
>repeat the configuration process
>create new image based on the state of a container
>deploy new container
>is a replica of the mother container
>no changes

What am I doing wrong?

Attached: 1658607743366845.png (238x217, 112.6K)

>creates an image based on the state of a stateless thing
>expects a different state
wut?

I deployed the container and made the required changes, then, I did a commit to create a new image, hoping it will a snapshot of the mother container + my own configuration changes.

Your configuration goes in the dockerfile or gets set during whatever entrypoint is
the container is stateless. It no save your changes unless you mount some storage in it and create a mountpoint in the dockerfile for where the config files go.

Slackware

I understand, thank you very much user.

Mount folder with confits as an external volume.

Thanks user.