Files
servercode/podman-cockpit.txt
T
2025-07-27 10:27:51 -05:00

44 lines
1.6 KiB
Plaintext
Executable File

# Add alias docker=podman in your .bashrc
podman -v
sudo systemctl status podman.socket
# Install Podman Fedora:
sudo dnf install podman
# Install Podman Debian: sudo apt install podman -y
sudo systemctl enable --now podman.socket
---------------------------------------------
sudo systemctl status cockpit.socket
# Install Cockpit Fedora
sudo dnf install cockpit
# Install Debian Cockpit: sudo apt install cockpit -y
# Start Cockpit Socket
sudo systemctl enable --now cockpit.socket
# Open Firewall (if needed)
sudo firewall-cmd --add-service=cockpit --permanent
sudo firewall-cmd --add-service=cockpit
Extend Cockpit:
Cockpit Virtual Machines: apt install cockpit-machines -y
Cockpit Podman Containers: apt install cockpit-podman -y
Cockpit Diagnostic Reports: apt install cockpit-sosreport -y
45Drives ZFS Manager: git clone https://github.com/45drives/cockpit-zfs-manager.git
sudo cp -r cockpit-zfs-manager/zfs /usr/share/cockpit
45Drives File Sharing: curl -sSL https://repo.45drives.com/setup | sudo bash apt update
apt install cockpit-file-sharing -y
45Drives Identities: apt install cockpit-identities -y
45Drives Navigator: apt install cockpit-navigator -y
Cockpit Podman Module: apt install cockpit-podman -y
Cockpit LM-Sensors:
wget https://github.com/ocristopfer/cockpit-sensors/releases/latest/download/cockpit-sensors.tar.xz && \
tar -xf cockpit-sensors.tar.xz cockpit-sensors/dist && \
mv cockpit-sensors/dist /usr/share/cockpit/sensors && \
rm -r cockpit-sensors && \
rm cockpit-sensors.tar.xz
# Run a test container
podman run --rm busybox echo "hello world"