mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-14 12:20:19 +00:00
deploy: b7f55d156a11ea6554d920be3542089f2a51e88d
This commit is contained in:
@@ -157,7 +157,7 @@ personal blog
|
||||
<p>Docker has been one of the larger influencers in the container world, helping to standardize the (<a href=https://github.com/opencontainers/image-spec/blob/main/spec.md>OCI Image Format Specification</a>). For many developers, containers have become synonymous with terms like docker, and the <code>Dockerfile</code> being a file that contains the instructions on how to build an image. Docker has certainly made it very convenient to build and run containers, but it is not the only solution for doing so.</p>
|
||||
<h3 id=what-are-containers>What are containers?</h3>
|
||||
<p>A container is a standard unit of software that packages up all application dependencies within it. Multiple containers can be run on a host machine all sharing the same kernel as the host. In Linux, namespaces help provide an isolated view of the system: including networking, PIDs, UIDs, and mounts. There is an <a href="https://www.youtube.com/watch?v=sK5i-N34im8">in-depth video</a> that discusses what containers are made from, and <a href="https://youtu.be/sK5i-N34im8?t=2468">near the end</a> there is a demonstration about how to build your own containers on the command line.</p>
|
||||
<p>By easily allowing the necessary dependencies to live alongside the application code, containers make the “works on my machine” problem is less of a problem.</p>
|
||||
<p>By easily allowing the necessary dependencies to live alongside the application code, containers make the “works on my machine” problem less of a problem.</p>
|
||||
<h3 id=benefits-of-podman>Benefits of podman</h3>
|
||||
<p>One of the most interesting features of podman is that it is daemonless. There isn’t a process running on your system managing your containers. In contrast, the docker client is reliant upon the docker daemon (often running as root) to be able to build and run containers.</p>
|
||||
<p>Podman is rootless by default. It is now possible to <a href=https://docs.docker.com/engine/security/rootless/>run the docker daemon rootless</a> as well, but it’s still not the default behaviour.</p>
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user