Say Goodbye To Root Accounts With Podman!

  Рет қаралды 2,592

Tech Tutorials - David McKone

Tech Tutorials - David McKone

Күн бұрын

Пікірлер: 18
@0xDEADBEEF
@0xDEADBEEF Ай бұрын
FYI podman way is to use 'Containerfile' in place of 'Dockerfile'
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Ай бұрын
That's one of the appeals of Podman, you can still use the names used with Docker It actually makes it easier to migrate from Docker to Podman
@MenkarX
@MenkarX 7 ай бұрын
Thanks for the video. I personally prefer to run Podman in RHEL family distros (Fedora,RHEL,Rocky). They have podman-restart service which starts containers with the flag "restart: always" on reboot. They also have cockpit gui with podman.socket integration for management of pods and containers. Podman-compose and portainer works fine as well. For keeping containers up to date I use watchtower.
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone 7 ай бұрын
Yeah, that makes sense IBM is behind a lot of these things, which I still find surprising First time I came across them was to do with mainframes Last time it was a san Anyway, I'm going to hand this all over to Ansible...now who makes that again?
@radhwanbasher
@radhwanbasher Ай бұрын
it's really a wonderful tutorial
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Ай бұрын
Good to hear the video was helpful
@Aruneh
@Aruneh 7 ай бұрын
It's worth noting that the version of Podman you installed is a bit older (I also use Debian, so it's the version I'm on also) and in newer versions, Podman has replaced the systemd unit files with "quadlets" instead (you can still use the old way I think), which is a different way of writing the service files. You still use systemd to manage the containers, it's just a different file format that is easier to work with. I've begun replacing Docker with podman in my local environment, and have had no issues so far.
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone 7 ай бұрын
Thanks for sharing this, that looks to be a more useful method I stuck with a compose file to run everything as I got quite used to it and it would make it easier to migrate what I've already done in Docker But I've noticed that compose doesn't seem to be a preference for Podman, so I might have to move away from this at some point I am planning to hand this all over to Ansible, and these container files are more or less what I was going to do for building the compose file So this looks to be a better strategy
@jdratlif
@jdratlif 4 ай бұрын
Fantastic content mate. Love your stuff.
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone 4 ай бұрын
Thanks and good to know the videos are useful
@zyghom
@zyghom 7 ай бұрын
as usual - perfect guide - thx
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone 7 ай бұрын
Thanks for taking the time to comment, always appreciated
@mikephares5104
@mikephares5104 Ай бұрын
Any reason for not using podman quadlet
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Ай бұрын
Well when I was first made aware of quadlets, I looked at a Red Hat web page which said it needed root access, so that put me off In which case, I used a rootless service account and compose file as I was already using compose for Docker Compose files can get quite large though so I handed that off to Ansible I now have one playbook which creates VMs, another installs and initialises Podman into a VM and another one manages the compose file and updates the containers So once Podman is up and running, I create a new service and volume file for a container and then run the maintenance playbook. It will generate a new compose file, upload it and shortly after the new container will be spun up If the config of an existing container needs changing, I'll update its config file(s) on the Ansible computer and the run that same playbook to push the change out and restart the container It works fine, but different service accounts for each container does seem to be the better strategy
@rubinglen
@rubinglen 29 күн бұрын
i use ubuntu, podman-compose not found or installable with apt
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone 28 күн бұрын
I don't use Ubuntu but Podman may no longer be available for it The installation instructions mention Ubuntu, but I came across this askubuntu.com/questions/1498558/install-podman-on-ubuntu-20-04
@AdrianuX1985
@AdrianuX1985 7 ай бұрын
+1
Automate Local TLS Certificates With Step-CA
36:57
Tech Tutorials - David McKone
Рет қаралды 3,1 М.
0x0C. Web server || alx|| code along
1:13:37
CRYPTO TECH CODER
Рет қаралды 897
WILL IT BURST?
00:31
Natan por Aí
Рет қаралды 47 МЛН
小丑和白天使的比试。#天使 #小丑 #超人不会飞
00:51
超人不会飞
Рет қаралды 43 МЛН
Proxmox VE Email Alert Setup: Never Miss a Critical Notification
15:12
Tech Tutorials - David McKone
Рет қаралды 4,8 М.
Is it time to switch? // Docker vs Podman Desktop
16:05
Christian Lempa
Рет қаралды 232 М.
you should be using PODMAN
10:39
John Hammond
Рет қаралды 85 М.
Simplify Your Proxmox VE Tasks: Ansible Automation Made Easy
19:42
Tech Tutorials - David McKone
Рет қаралды 10 М.
How To Use Podman Containers
1:04:59
theurbanpenguin
Рет қаралды 18 М.
Rootless Containers with Podman - Steven Ellis, Red Hat
39:40
The Linux Foundation
Рет қаралды 16 М.
Docker vs Kubernetes, what's better in a Homelab?
14:57
Christian Lempa
Рет қаралды 85 М.
Podman Tutorial Zero to Hero | Full 1 Hour Course
1:00:55
Amadeus for Developers
Рет қаралды 31 М.
Automatic Container Updates - Watchtower Docker GitOps
12:40