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/08/26 19:12] 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
 +### 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__
 +```
 +docker
 +no shutdown
 +```
 +__Pull Image__
 +```
 +docker pull <image>
 +```
 +__Start Container__
 +```
 +docker start <image> latest <container-name> now
 +```
 +__Enter Container__
 +```
 +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__
 +```
 +dnf --disablerepo '*' --enablerepo=extras swap centos-linux-repos centos-stream-repos
 +dnf distro-sync
 +```
 +## Build System
 +podman build scripts
 </markdown> </markdown>
 +
technical/containers.1661555558.txt.gz · Last modified: 2022/08/26 19:12 by jc