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/15 10:00] jctechnical: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://github.com/vbatts/slackware-container.git 
 +``` 
 +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/slackware64-current:latest 
 +``` 
 +### Wolfi 
 +## Onyx
 __Enable Docker__ __Enable Docker__
 ``` ```
Line 24: Line 43:
 docker exec <container-name> "bin/bash" docker exec <container-name> "bin/bash"
 ``` ```
 +__Commit Container__
 +```
 +docker commit <container-name> <image> latest
 +```
 +__Save Container__
 +```
 +docker save <image> latest <file-name>
 +```
 +__Start a Privileged Container__
 +```
 +docker start <image> latest <container-name> init privileged network
 +```
 +#### CentOS
 __Migrate from CentOS 8 to CentOS Stream__ __Migrate from CentOS 8 to CentOS Stream__
 ``` ```
Line 29: Line 61:
 dnf distro-sync dnf distro-sync
 ``` ```
- 
 ## Build System ## Build System
 podman build scripts podman build scripts
 </markdown> </markdown>
 +
technical/containers.1663250406.txt.gz · Last modified: 2022/09/15 10:00 by jc