Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Preparation
- #You Must Install Docker Before You Get Some Errors
- #For Debian Base Linux
- sudo apt update && sudo apt install -y docker.io
- #For ArchLinux Base
- sudo pacman -Syu && sudo pacman -S docker --noconfirm
- #For Redhat Base Linux
- sudo dnf update && sudo dnf install -y docker
- #Main Installation To ~/.local File Location(You Can Change It Here & zshrc or bashrc)
- curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sh -s -- --next --prefix ~/.local
- curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/extras/install-podman | sh -s -- --prefix ~/.local
- #Know Your Shell
- echo $SHELL
- #To Add To Bashrc OR Zshrc (important)
- nano ~/.bashrc
- OR
- nano ~/.zshrc
- #Add These 4 Lines To ~/.bashrc Or ~/.zshrc
- export PATH=$HOME/.local/bin:$PATH
- export PATH=$HOME/.local/podman/bin:$PATH
- xhost +si:localuser:$USER 2>/dev/null
- clear
- #Then Restart Terminal & Open It Again
- #Example To Create A Distro
- distrobox create debian10 -i docker.io/library/debian:10
- {distrobox create (your_given_name) -i docker.io/library/ubuntu:22.04}
- distrobox enter debian10
- #If You Want Root Account Login
- distrobox enter --root debian10
- #To Install An Application
- sudo apt update && sudo apt install -y gimp locales-all
- gimp
- #To add to /usr/local/bin
- sudo su
- echo "distrobox enter debian10" >>/usr/local/bin/debian10
- chmod 777 /usr/local/bin/debian10
- exit
- debian10
- #To study more examples
- https://github.com/89luca89/distrobox
- #Distro Images(You Should Copy All Of Them)
- AlmaLinux (UBI)
- quay.io/almalinux/8-base:8
- quay.io/almalinux/8-init:8
- AlmaLinux
- quay.io/almalinux/almalinux:8
- quay.io/almalinux/almalinux:9
- quay.io/almalinux/almalinux:9-minimal
- Alpine Linux
- docker.io/library/alpine:3.15
- docker.io/library/alpine:3.16
- docker.io/library/alpine:latest
- AmazonLinux
- public.ecr.aws/amazonlinux/amazonlinux:1
- public.ecr.aws/amazonlinux/amazonlinux:2
- public.ecr.aws/amazonlinux/amazonlinux:2022.0.20220531.0
- Archlinux
- docker.io/library/archlinux:latest
- CentOS Stream
- quay.io/centos/centos:stream8
- quay.io/centos/centos:stream9
- CentOS
- quay.io/centos/centos:7
- ClearLinux
- docker.io/library/clearlinux:latest
- docker.io/library/clearlinux:base
- Debian
- docker.io/debian/eol:wheezy
- docker.io/library/debian:8
- docker.io/library/debian:9
- docker.io/library/debian:10
- docker.io/library/debian:stable
- docker.io/library/debian:stable-backports
- Debian Testing
- docker.io/library/debian:testing
- docker.io/library/debian:testing-backports
- Debian Unstable
- docker.io/library/debian:unstable
- Fedora
- registry.fedoraproject.org/fedora-toolbox:35
- quay.io/fedora/fedora:35
- quay.io/fedora/fedora:36
- registry.fedoraproject.org/fedora:37
- quay.io/fedora/fedora:rawhide
- Gentoo Linux rolling
- You will have to Build your own to have a complete Gentoo docker image
- Kali Linux
- docker.io/kalilinux/kali-rolling:latest
- Mageia
- docker.io/library/mageia
- Neurodebian nd100
- docker.io/library/neurodebian:nd100
- Opensuse Leap
- registry.opensuse.org/opensuse/leap:latest
- Opensuse Tumbleweed
- registry.opensuse.org/opensuse/tumbleweed:latest
- registry.opensuse.org/opensuse/toolbox:latest
- Oracle Linux
- container-registry.oracle.com/os/oraclelinux:7
- container-registry.oracle.com/os/oraclelinux:7-slim
- container-registry.oracle.com/os/oraclelinux:8
- container-registry.oracle.com/os/oraclelinux:8-slim
- container-registry.oracle.com/os/oraclelinux:9
- container-registry.oracle.com/os/oraclelinux:9-slim
- RedHat (UBI)
- registry.access.redhat.com/ubi7/ubi
- registry.access.redhat.com/ubi7/ubi-init
- registry.access.redhat.com/ubi8/ubi
- registry.access.redhat.com/ubi8/ubi-init
- registry.access.redhat.com/ubi8/ubi-minimal
- registry.access.redhat.com/ubi9/ubi
- registry.access.redhat.com/ubi9/ubi-init
- registry.access.redhat.com/ubi9/ubi-minimal
- Rocky Linux
- quay.io/rockylinux/rockylinux:8
- quay.io/rockylinux/rockylinux:8-minimal
- quay.io/rockylinux/rockylinux:9
- quay.io/rockylinux/rockylinux:latest
- Scientific Linux
- docker.io/library/sl:7
- Slackware
- docker.io/vbatts/slackware:14.2
- Ubuntu
- docker.io/library/ubuntu:14.04
- docker.io/library/ubuntu:16.04
- docker.io/library/ubuntu:18.04
- docker.io/library/ubuntu:20.04
- docker.io/library/ubuntu:22.04
- Void Linux
- ghcr.io/void-linux/void-linux:latest-full-x86_64
- ghcr.io/void-linux/void-linux:latest-full-x86_64-musl
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement