This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
technical:containers [2022/08/26 19:12] – 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 | ||
+ | ### 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__ | ||
+ | ``` | ||
+ | docker | ||
+ | no shutdown | ||
+ | ``` | ||
+ | __Pull Image__ | ||
+ | ``` | ||
+ | docker pull < | ||
+ | ``` | ||
+ | __Start Container__ | ||
+ | ``` | ||
+ | docker start < | ||
+ | ``` | ||
+ | __Enter Container__ | ||
+ | ``` | ||
+ | docker exec < | ||
+ | ``` | ||
+ | __Commit Container__ | ||
+ | ``` | ||
+ | docker commit < | ||
+ | ``` | ||
+ | __Save Container__ | ||
+ | ``` | ||
+ | docker save < | ||
+ | ``` | ||
+ | __Start a Privileged Container__ | ||
+ | ``` | ||
+ | docker start < | ||
+ | ``` | ||
+ | #### CentOS | ||
+ | __Migrate from CentOS 8 to CentOS Stream__ | ||
+ | ``` | ||
+ | dnf --disablerepo ' | ||
+ | dnf distro-sync | ||
+ | ``` | ||
+ | ## Build System | ||
+ | podman build scripts | ||
</ | </ | ||
+ |