Outils pour utilisateurs

Outils du site


blog

Notes podman system connection

Autres : multi arch - connection - farm - manifest

Voir :

systemctl --user enable --now podman.socket

Diag

systemctl --user status podman.socket
SOCKET="${XDG_RUNTIME_DIR:-/run/user/$(id -u)}/podman/podman.sock"
curl -s --unix-socket "$SOCKET" http://localhost/v4.0.0/libpod/_ping

If you don't have systemd available, then use

podman system service --time=0 unix:///tmp/podman.sock &
podman system connection add local /run/user/1000/podman/podman.sock
podman --connection local info
$ podman system connection list 
Name        URI                                         Identity    Default     ReadWrite
local       ssh://:22/run/user/1000/podman/podman.sock              true        true


podman system connection add local unix:///run/user/1000/podman/podman.sock

$ podman system connection list
Name        URI                                       Identity    Default     ReadWrite
local       unix:///run/user/1000/podman/podman.sock              true        true

$ podman manifest inspect docker.io/library/debian:latest | jq -r '.manifests.[].platform.architecture' | sort -u
386
amd64
arm
arm64
ppc64le
riscv64
s390x
unknown
2026/10/12 21:52 · Jean-Baptiste

Notes podman quadlet

Voir :

/home/jibe/.config/containers/systemd/mysleep.container

[Unit]
Description=The sleep container
 
[Container]
Image=docker.io/library/debian:latest
Exec=sleep inf
 
[Install]
WantedBy=multi-user.target
$ podman quadlet list
NAME               UNIT NAME        PATH ON DISK                                             STATUS      APPLICATION
mysleep.container  mysleep.service  /home/jibe/.config/containers/systemd/mysleep.container  Not loaded  
systemctl --user daemon-reload 
$ podman quadlet list
NAME               UNIT NAME        PATH ON DISK                                             STATUS         APPLICATION
mysleep.container  mysleep.service  /home/jibe/.config/containers/systemd/mysleep.container  inactive/dead  
systemctl --user start mysleep.service 
$ podman quadlet list
NAME               UNIT NAME        PATH ON DISK                                             STATUS          APPLICATION
mysleep.container  mysleep.service  /home/jibe/.config/containers/systemd/mysleep.container  active/running  
jibe@vivabelo:~$ 

Podman & K8S

podman generate kube intelligent_lovelace --podman-only > pod.yaml

pod.yaml

# Save the output of this file and use kubectl create -f to import
# it into Kubernetes.
#
# Created with podman-5.8.6
apiVersion: v1
kind: Pod
metadata:
  annotations:
    io.podman.annotations.init/intelligentlovelace: "TRUE"
  creationTimestamp: "2026-10-12T19:55:35Z"
  labels:
    app: intelligentlovelace-pod
  name: intelligentlovelace-pod
spec:
  containers:
  - command:
    - sleep
    - inf
    image: docker.io/library/debian:latest
    name: intelligentlovelace
podman kube play pod.yaml
2026/10/12 21:48 · Jean-Baptiste

Notes HTTP Strict Transport Security - HSTS

Pb

Err - Le serveur a présenté des informations de transparence du certificat insuffisantes
Le serveur a présenté des informations de transparence du certificat insuffisantes. Son certificat peut ne pas avoir été rendu public et il peut avoir été émis par erreur.

HTTP Strict Transport Security : false
HTTP Public Key Pinning : false

HTTP Public Key Pinning (HPKP) is an obsolete Internet security

Source : https://en.wikipedia.org/wiki/HTTP_Public_Key_Pinning

Solution
server {
    server_name wiki.acme.com;
 
    # Ligne à ajouter :
    add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
    ...
    }
systemctl reload nginx

FIXME

2026/09/18 11:04 · Jean-Baptiste

Notes GNU Linux graphique

Serveurs

Gestionnaire de session

Compositeur

Autres

Display Manager

FIXME

2026/09/08 15:42 · Jean-Baptiste
blog.txt · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki