Skip to content

Instantly share code, notes, and snippets.

@madkoding
madkoding / install-docker-deepin.sh
Last active July 19, 2024 10:18
Install Docker-CE script for Deepin Linux
#!/bin/bash
echo "Starting Docker installation on Deepin Linux..."
# Define a mapping from Deepin version to Debian version
map_deepin_to_debian() {
if [ "$1" -lt 20 ]; then
echo "stretch"
elif [ "$1" -ge 20 ]; then
echo "buster"