This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
technical:containers [2022/09/15 10:00] – jc | technical:containers [2024/12/14 09:40] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 5: | Line 5: | ||
### Podman Script | ### Podman Script | ||
## Network | ## Network | ||
- | ### Linux | + | ## Linux |
- | ### Onyx | + | ### LXC |
+ | ### Podman | ||
+ | __Build a Slackware Container__ | ||
+ | |||
+ | 1. Clone Vincent Batts Slackware container repository | ||
+ | ``` | ||
+ | git clone https:// | ||
+ | ``` | ||
+ | 2. Build an image with the desired version and architecture. | ||
+ | ``` | ||
+ | cd slackware-container | ||
+ | CRT=podman make ARCH=64 VERSION=current | ||
+ | ``` | ||
+ | 3. Import and tag the container | ||
+ | ``` | ||
+ | podman import slackware64-current.tar | ||
+ | podman tag $user/ | ||
+ | ``` | ||
+ | ### Wolfi | ||
+ | ## Onyx | ||
__Enable Docker__ | __Enable Docker__ | ||
``` | ``` | ||
Line 23: | Line 42: | ||
``` | ``` | ||
docker exec < | docker exec < | ||
+ | ``` | ||
+ | __Commit Container__ | ||
+ | ``` | ||
+ | docker commit < | ||
+ | ``` | ||
+ | __Save Container__ | ||
+ | ``` | ||
+ | docker save < | ||
+ | ``` | ||
+ | __Start a Privileged Container__ | ||
+ | ``` | ||
+ | docker start < | ||
``` | ``` | ||
#### CentOS | #### CentOS | ||
Line 30: | Line 61: | ||
dnf distro-sync | dnf distro-sync | ||
``` | ``` | ||
- | |||
## Build System | ## Build System | ||
podman build scripts | podman build scripts | ||
</ | </ | ||
+ |