This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| technical:containers [2022/09/15 09:10] – 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 14: | Line 33: | ||
| __Pull Image__ | __Pull Image__ | ||
| ``` | ``` | ||
| - | docker pull centos | + | docker pull < |
| ``` | ``` | ||
| __Start Container__ | __Start Container__ | ||
| ``` | ``` | ||
| - | docker start centos | + | 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 | ## Build System | ||
| podman build scripts | podman build scripts | ||
| </ | </ | ||
| + | |||