User Tools

Site Tools


technical:containers

Containers

Orchestration

Kubernetes

Podman Script

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

technical/containers.txt · Last modified: 2024/12/14 09:40 by 127.0.0.1