This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
technical:containers [2022/09/27 14:58] – jc | technical: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:// | git clone https:// | ||
``` | ``` | ||
- | 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 |
``` | ``` | ||
- | 4. Import and tag the container | + | 3. Import and tag the container |
``` | ``` | ||
podman import slackware64-current.tar | podman import slackware64-current.tar | ||
- | podman tag | + | podman tag |
``` | ``` | ||
### Wolfi | ### Wolfi | ||
Line 68: | Line 64: | ||
podman build scripts | podman build scripts | ||
</ | </ | ||
+ |