User Tools

Site Tools


technical:containers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
technical:containers [2022/09/27 14:58] jctechnical:containers [2024/12/14 09:40] (current) – external edit 127.0.0.1
Line 6: Line 6:
 ## Network ## Network
 ## Linux ## Linux
 +### LXC
 ### Podman ### Podman
 __Build a Slackware Container__ __Build a Slackware Container__
Line 13: Line 14:
 git clone https://github.com/vbatts/slackware-container.git git clone https://github.com/vbatts/slackware-container.git
 ``` ```
-2. Uncomment the podman variable and comment the docker variable in the Makefile +2. Build an image with the desired version and architecture.
-``` +
-CRT ?= podman +
-#CRT ?= docker +
-``` +
-3. Build an image with the desired version and architecture.+
 ```  ``` 
 cd slackware-container cd slackware-container
-make ARCH=64 VERSION=current+CRT=podman make ARCH=64 VERSION=current
 ``` ```
-4. Import and tag the container+3. Import and tag the container
 ``` ```
 podman import slackware64-current.tar podman import slackware64-current.tar
-podman tag  jc/slackware64-current:latest+podman tag  $user/slackware64-current:latest
 ``` ```
 ### Wolfi ### Wolfi
Line 68: Line 64:
 podman build scripts podman build scripts
 </markdown> </markdown>
 +
technical/containers.1664305119.txt.gz · Last modified: 2022/09/27 14:58 by jc