Add podman commands

This commit is contained in:
Ruben Solvang 2025-05-23 10:41:15 +02:00
parent 4a39b99602
commit aecdc38719

View file

@ -21,10 +21,9 @@ docker build -t debian-armyknife:custom .
``` ```
podman: podman:
``` ```
missing docker build -t debian-armyknife:custom . --network=host
``` ```
###### 3. Verify that the new image is avaiable: ###### 3. Verify that the new image is avaiable:
docker: docker:
``` ```
@ -34,7 +33,9 @@ debian-armyknife custom ba509e499dda 11 hours ago 321MB
``` ```
podman: podman:
``` ```
missing # podman images
REPOSITORY TAG IMAGE ID CREATED SIZE
localhost/debian-armyknife custom 08c635e4b6fa 9 seconds ago 620 MB
``` ```
###### 4. Run image: ###### 4. Run image:
@ -44,7 +45,7 @@ docker run -it debian-armyknife:custom bash
``` ```
podman: podman:
``` ```
missing podman run -it debian-armyknife:custom bash
``` ```
###### 5. Run and attach to specific network: ###### 5. Run and attach to specific network:
@ -54,12 +55,10 @@ docker run --network [NETWORK NAME] -it debian-armyknife:custom bash
``` ```
podman: podman:
``` ```
missing podman run -it --net skypodnet0 debian-armyknife:custom bash
``` ```
###### Start with docker compose or as a quadlet with systemd:
###### Add information on how to include via docker compose / quadlet:
docker: docker:
``` ```
missing missing
@ -68,5 +67,3 @@ podman:
``` ```
missing missing
``` ```