最新资讯

  • 工作日记:Dockers安装教程(centOS)

工作日记:Dockers安装教程(centOS)

2025-04-28 15:01:26 0 阅读

Dockers安装教程

一、正常安装

1、卸载旧版本

yum remove docker 
           docker-client 
           docker-client-latest 
           docker-common 
           docker-latest 
           docker-latest-logrotate 
           docker-logrotate 
           docker-engine

2、需要的安装包

yum install -y yum-utils

3、设置镜像的仓库

默认是从国外的!(不推荐)

yum-config-manager 
	--add-repo 
	https://download.docker.com/linux/centos/docker-ce.repo

使用阿里源(推荐)

yum-config-manager 
	--add-repo 
	http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo

更新yum软件包索引

yum makecache fast

4、安装docker依赖

docker-ce:社区版
docker-ee:企业版

yum install docker-ce docker-ce-cli containerd.io

5.修改配置文件

路径: /etc/docker/daemon.json
没有daemon.json文件则新建

{
  "builder": {
    "gc": {
      "defaultKeepStorage": "20GB",
      "enabled": true
    }
  },
  "experimental": false,
  "features": {
    "buildkit": true
  },
  "live-restore": true,
  "registry-mirrors": [
    "https://docker.211678.top",
    "https://docker.1panel.live",
    "https://hub.rat.dev",
    "https://docker.m.daocloud.io",
    "https://do.nark.eu.org",
    "https://dockerpull.com",
    "https://dockerproxy.cn",
    "https://docker.awsl9527.cn/"
  ],
  "data-root":"/mnt/sdb/dockerdata"
}

注:“data-root”:“/mnt/sdb/dockerdata” 是镜像保存位置,可修改

6、启动docker

systemctl start docker

测试是否启动成功

docker version

7、拉取镜像

docker run hello-world

8、查看镜像

docker images

9、卸载docker

卸载docker依赖

yum remove docker-ce docker-ce-cli containerd.io

删除资源

rm -rf /var/lib/docker

二、脚本安装

新建一个sh文件,命名为get-docker.sh

#!/bin/sh
set -e
# Docker Engine for Linux installation script.
#
# This script is intended as a convenient way to configure docker's package
# repositories and to install Docker Engine, This script is not recommended
# for production environments. Before running this script, make yourself familiar
# with potential risks and limitations, and refer to the installation manual
# at https://docs.docker.com/engine/install/ for alternative installation methods.
#
# The script:
#
# - Requires `root` or `sudo` privileges to run.
# - Attempts to detect your Linux distribution and version and configure your
#   package management system for you.
# - Doesn't allow you to customize most installation parameters.
# - Installs dependencies and recommendations without asking for confirmation.
# - Installs the latest stable release (by default) of Docker CLI, Docker Engine,
#   Docker Buildx, Docker Compose, containerd, and runc. When using this script
#   to provision a machine, this may result in unexpected major version upgrades
#   of these packages. Always test upgrades in a test environment before
#   deploying to your production systems.
# - Isn't designed to upgrade an existing Docker installation. When using the
#   script to update an existing installation, dependencies may not be updated
#   to the expected version, resulting in outdated versions.
#
# Source code is available at https://github.com/docker/docker-install/
#
# Usage
# ==============================================================================
#
# To install the latest stable versions of Docker CLI, Docker Engine, and their
# dependencies:
#
# 1. download the script
#
#   $ curl -fsSL https://get.docker.com -o install-docker.sh
#
# 2. verify the script's content
#
#   $ cat install-docker.sh
#
# 3. run the script with --dry-run to verify the steps it executes
#
#   $ sh install-docker.sh --dry-run
#
# 4. run the script either as root, or using sudo to perform the installation.
#
#   $ sudo sh install-docker.sh
#
# Command-line options
# ==============================================================================
#
# --version 
# Use the --version option to install a specific version, for example:
#
#   $ sudo sh install-docker.sh --version 23.0
#
# --channel 
#
# Use the --channel option to install from an alternative installation channel.
# The following example installs the latest versions from the "test" channel,
# which includes pre-releases (alpha, beta, rc):
#
#   $ sudo sh install-docker.sh --channel test
#
# Alternatively, use the script at https://test.docker.com, which uses the test
# channel as default.
#
# --mirror 
#
# Use the --mirror option to install from a mirror supported by this script.
# Available mirrors are "Aliyun" (https://mirrors.aliyun.com/docker-ce), and
# "AzureChinaCloud" (https://mirror.azure.cn/docker-ce), for example:
#
#   $ sudo sh install-docker.sh --mirror AzureChinaCloud
#
# ==============================================================================


# Git commit from https://github.com/docker/docker-install when
# the script was uploaded (Should only be modified by upload job):
SCRIPT_COMMIT_SHA="6d9743e9656cc56f699a64800b098d5ea5a60020"

# strip "v" prefix if present
VERSION="${VERSION#v}"

# The channel to install from:
#   * stable
#   * test
#   * edge (deprecated)
#   * nightly (deprecated)
DEFAULT_CHANNEL_VALUE="stable"
if [ -z "$CHANNEL" ]; then
	CHANNEL=$DEFAULT_CHANNEL_VALUE
fi

DEFAULT_DOWNLOAD_URL="https://download.docker.com"
if [ -z "$DOWNLOAD_URL" ]; then
	DOWNLOAD_URL=$DEFAULT_DOWNLOAD_URL
fi

DEFAULT_REPO_FILE="docker-ce.repo"
if [ -z "$REPO_FILE" ]; then
	REPO_FILE="$DEFAULT_REPO_FILE"
fi

mirror=''
DRY_RUN=${DRY_RUN:-}
while [ $# -gt 0 ]; do
	case "$1" in
		--channel)
			CHANNEL="$2"
			shift
			;;
		--dry-run)
			DRY_RUN=1
			;;
		--mirror)
			mirror="$2"
			shift
			;;
		--version)
			VERSION="${2#v}"
			shift
			;;
		--*)
			echo "Illegal option $1"
			;;
	esac
	shift $(( $# > 0 ? 1 : 0 ))
done

case "$mirror" in
	Aliyun)
		DOWNLOAD_URL="https://mirrors.aliyun.com/docker-ce"
		;;
	AzureChinaCloud)
		DOWNLOAD_URL="https://mirror.azure.cn/docker-ce"
		;;
	"")
		;;
	*)
		>&2 echo "unknown mirror '$mirror': use either 'Aliyun', or 'AzureChinaCloud'."
		exit 1
		;;
esac

case "$CHANNEL" in
	stable|test)
		;;
	edge|nightly)
		>&2 echo "DEPRECATED: the $CHANNEL channel has been deprecated and is no longer supported by this script."
		exit 1
		;;
	*)
		>&2 echo "unknown CHANNEL '$CHANNEL': use either stable or test."
		exit 1
		;;
esac

command_exists() {
	command -v "$@" > /dev/null 2>&1
}

# version_gte checks if the version specified in $VERSION is at least the given
# SemVer (Maj.Minor[.Patch]), or CalVer (YY.MM) version.It returns 0 (success)
# if $VERSION is either unset (=latest) or newer or equal than the specified
# version, or returns 1 (fail) otherwise.
#
# examples:
#
# VERSION=23.0
# version_gte 23.0  // 0 (success)
# version_gte 20.10 // 0 (success)
# version_gte 19.03 // 0 (success)
# version_gte 21.10 // 1 (fail)
version_gte() {
	if [ -z "$VERSION" ]; then
			return 0
	fi
	eval version_compare "$VERSION" "$1"
}

# version_compare compares two version strings (either SemVer (Major.Minor.Path),
# or CalVer (YY.MM) version strings. It returns 0 (success) if version A is newer
# or equal than version B, or 1 (fail) otherwise. Patch releases and pre-release
# (-alpha/-beta) are not taken into account
#
# examples:
#
# version_compare 23.0.0 20.10 // 0 (success)
# version_compare 23.0 20.10   // 0 (success)
# version_compare 20.10 19.03  // 0 (success)
# version_compare 20.10 20.10  // 0 (success)
# version_compare 19.03 20.10  // 1 (fail)
version_compare() (
	set +x

	yy_a="$(echo "$1" | cut -d'.' -f1)"
	yy_b="$(echo "$2" | cut -d'.' -f1)"
	if [ "$yy_a" -lt "$yy_b" ]; then
		return 1
	fi
	if [ "$yy_a" -gt "$yy_b" ]; then
		return 0
	fi
	mm_a="$(echo "$1" | cut -d'.' -f2)"
	mm_b="$(echo "$2" | cut -d'.' -f2)"

	# trim leading zeros to accommodate CalVer
	mm_a="${mm_a#0}"
	mm_b="${mm_b#0}"

	if [ "${mm_a:-0}" -lt "${mm_b:-0}" ]; then
		return 1
	fi

	return 0
)

is_dry_run() {
	if [ -z "$DRY_RUN" ]; then
		return 1
	else
		return 0
	fi
}

is_wsl() {
	case "$(uname -r)" in
	*microsoft* ) true ;; # WSL 2
	*Microsoft* ) true ;; # WSL 1
	* ) false;;
	esac
}

is_darwin() {
	case "$(uname -s)" in
	*darwin* ) true ;;
	*Darwin* ) true ;;
	* ) false;;
	esac
}

deprecation_notice() {
	distro=$1
	distro_version=$2
	echo
	printf "DEPRECATION WARNING
"
	printf "    This Linux distribution (%s %s) reached end-of-life and is no longer supported by this script.
" "$distro" "$distro_version"
	echo   "    No updates or security fixes will be released for this distribution, and users are recommended"
	echo   "    to upgrade to a currently maintained version of $distro."
	echo
	printf   "Press Ctrl+C now to abort this script, or wait for the installation to continue."
	echo
	sleep 10
}

get_distribution() {
	lsb_dist=""
	# Every system that we officially support has /etc/os-release
	if [ -r /etc/os-release ]; then
		lsb_dist="$(. /etc/os-release && echo "$ID")"
	fi
	# Returning an empty string here should be alright since the
	# case statements don't act unless you provide an actual value
	echo "$lsb_dist"
}

echo_docker_as_nonroot() {
	if is_dry_run; then
		return
	fi
	if command_exists docker && [ -e /var/run/docker.sock ]; then
		(
			set -x
			$sh_c 'docker version'
		) || true
	fi

	# intentionally mixed spaces and tabs here -- tabs are stripped by "<<-EOF", spaces are kept in the output
	echo
	echo "================================================================================"
	echo
	if version_gte "20.10"; then
		echo "To run Docker as a non-privileged user, consider setting up the"
		echo "Docker daemon in rootless mode for your user:"
		echo
		echo "    dockerd-rootless-setuptool.sh install"
		echo
		echo "Visit https://docs.docker.com/go/rootless/ to learn about rootless mode."
		echo
	fi
	echo
	echo "To run the Docker daemon as a fully privileged service, but granting non-root"
	echo "users access, refer to https://docs.docker.com/go/daemon-access/"
	echo
	echo "WARNING: Access to the remote API on a privileged Docker daemon is equivalent"
	echo "         to root access on the host. Refer to the 'Docker daemon attack surface'"
	echo "         documentation for details: https://docs.docker.com/go/attack-surface/"
	echo
	echo "================================================================================"
	echo
}

# Check if this is a forked Linux distro
check_forked() {

	# Check for lsb_release command existence, it usually exists in forked distros
	if command_exists lsb_release; then
		# Check if the `-u` option is supported
		set +e
		lsb_release -a -u > /dev/null 2>&1
		lsb_release_exit_code=$?
		set -e

		# Check if the command has exited successfully, it means we're in a forked distro
		if [ "$lsb_release_exit_code" = "0" ]; then
			# Print info about current distro
			cat <<-EOF
			You're using '$lsb_dist' version '$dist_version'.
			EOF

			# Get the upstream release info
			lsb_dist=$(lsb_release -a -u 2>&1 | tr '[:upper:]' '[:lower:]' | grep -E 'id' | cut -d ':' -f 2 | tr -d '[:space:]')
			dist_version=$(lsb_release -a -u 2>&1 | tr '[:upper:]' '[:lower:]' | grep -E 'codename' | cut -d ':' -f 2 | tr -d '[:space:]')

			# Print info about upstream distro
			cat <<-EOF
			Upstream release is '$lsb_dist' version '$dist_version'.
			EOF
		else
			if [ -r /etc/debian_version ] && [ "$lsb_dist" != "ubuntu" ] && [ "$lsb_dist" != "raspbian" ]; then
				if [ "$lsb_dist" = "osmc" ]; then
					# OSMC runs Raspbian
					lsb_dist=raspbian
				else
					# We're Debian and don't even know it!
					lsb_dist=debian
				fi
				dist_version="$(sed 's//.*//' /etc/debian_version | sed 's/..*//')"
				case "$dist_version" in
					12)
						dist_version="bookworm"
					;;
					11)
						dist_version="bullseye"
					;;
					10)
						dist_version="buster"
					;;
					9)
						dist_version="stretch"
					;;
					8)
						dist_version="jessie"
					;;
				esac
			fi
		fi
	fi
}

do_install() {
	echo "# Executing docker install script, commit: $SCRIPT_COMMIT_SHA"

	if command_exists docker; then
		cat >&2 <<-'EOF'
			Warning: the "docker" command appears to already exist on this system.

			If you already have Docker installed, this script can cause trouble, which is
			why we're displaying this warning and provide the opportunity to cancel the
			installation.

			If you installed the current Docker package using this script and are using it
			again to update Docker, you can safely ignore this message.

			You may press Ctrl+C now to abort this script.
		EOF
		( set -x; sleep 20 )
	fi

	user="$(id -un 2>/dev/null || true)"

	sh_c='sh -c'
	if [ "$user" != 'root' ]; then
		if command_exists sudo; then
			sh_c='sudo -E sh -c'
		elif command_exists su; then
			sh_c='su -c'
		else
			cat >&2 <<-'EOF'
			Error: this installer needs the ability to run commands as root.
			We are unable to find either "sudo" or "su" available to make this happen.
			EOF
			exit 1
		fi
	fi

	if is_dry_run; then
		sh_c="echo"
	fi

	# perform some very rudimentary platform detection
	lsb_dist=$( get_distribution )
	lsb_dist="$(echo "$lsb_dist" | tr '[:upper:]' '[:lower:]')"

	if is_wsl; then
		echo
		echo "WSL DETECTED: We recommend using Docker Desktop for Windows."
		echo "Please get Docker Desktop from https://www.docker.com/products/docker-desktop/"
		echo
		cat >&2 <<-'EOF'

			You may press Ctrl+C now to abort this script.
		EOF
		( set -x; sleep 20 )
	fi

	case "$lsb_dist" in

		ubuntu)
			if command_exists lsb_release; then
				dist_version="$(lsb_release --codename | cut -f2)"
			fi
			if [ -z "$dist_version" ] && [ -r /etc/lsb-release ]; then
				dist_version="$(. /etc/lsb-release && echo "$DISTRIB_CODENAME")"
			fi
		;;

		debian|raspbian)
			dist_version="$(sed 's//.*//' /etc/debian_version | sed 's/..*//')"
			case "$dist_version" in
				12)
					dist_version="bookworm"
				;;
				11)
					dist_version="bullseye"
				;;
				10)
					dist_version="buster"
				;;
				9)
					dist_version="stretch"
				;;
				8)
					dist_version="jessie"
				;;
			esac
		;;

		centos|rhel)
			if [ -z "$dist_version" ] && [ -r /etc/os-release ]; then
				dist_version="$(. /etc/os-release && echo "$VERSION_ID")"
			fi
		;;

		*)
			if command_exists lsb_release; then
				dist_version="$(lsb_release --release | cut -f2)"
			fi
			if [ -z "$dist_version" ] && [ -r /etc/os-release ]; then
				dist_version="$(. /etc/os-release && echo "$VERSION_ID")"
			fi
		;;

	esac

	# Check if this is a forked Linux distro
	check_forked

	# Print deprecation warnings for distro versions that recently reached EOL,
	# but may still be commonly used (especially LTS versions).
	case "$lsb_dist.$dist_version" in
		debian.stretch|debian.jessie)
			deprecation_notice "$lsb_dist" "$dist_version"
			;;
		raspbian.stretch|raspbian.jessie)
			deprecation_notice "$lsb_dist" "$dist_version"
			;;
		ubuntu.xenial|ubuntu.trusty)
			deprecation_notice "$lsb_dist" "$dist_version"
			;;
		ubuntu.lunar|ubuntu.kinetic|ubuntu.impish|ubuntu.hirsute|ubuntu.groovy|ubuntu.eoan|ubuntu.disco|ubuntu.cosmic)
			deprecation_notice "$lsb_dist" "$dist_version"
			;;
		fedora.*)
			if [ "$dist_version" -lt 36 ]; then
				deprecation_notice "$lsb_dist" "$dist_version"
			fi
			;;
	esac

	# Run setup for each distro accordingly
	case "$lsb_dist" in
		ubuntu|debian|raspbian)
			pre_reqs="apt-transport-https ca-certificates curl"
			apt_repo="deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] $DOWNLOAD_URL/linux/$lsb_dist $dist_version $CHANNEL"
			(
				if ! is_dry_run; then
					set -x
				fi
				$sh_c 'apt-get update -qq >/dev/null'
				$sh_c "DEBIAN_FRONTEND=noninteractive apt-get install -y -qq $pre_reqs >/dev/null"
				$sh_c 'install -m 0755 -d /etc/apt/keyrings'
				$sh_c "curl -fsSL "$DOWNLOAD_URL/linux/$lsb_dist/gpg" -o /etc/apt/keyrings/docker.asc"
				$sh_c "chmod a+r /etc/apt/keyrings/docker.asc"
				$sh_c "echo "$apt_repo" > /etc/apt/sources.list.d/docker.list"
				$sh_c 'apt-get update -qq >/dev/null'
			)
			pkg_version=""
			if [ -n "$VERSION" ]; then
				if is_dry_run; then
					echo "# WARNING: VERSION pinning is not supported in DRY_RUN"
				else
					# Will work for incomplete versions IE (17.12), but may not actually grab the "latest" if in the test channel
					pkg_pattern="$(echo "$VERSION" | sed 's/-ce-/~ce~.*/g' | sed 's/-/.*/g')"
					search_command="apt-cache madison docker-ce | grep '$pkg_pattern' | head -1 | awk '{$1=$1};1' | cut -d' ' -f 3"
					pkg_version="$($sh_c "$search_command")"
					echo "INFO: Searching repository for VERSION '$VERSION'"
					echo "INFO: $search_command"
					if [ -z "$pkg_version" ]; then
						echo
						echo "ERROR: '$VERSION' not found amongst apt-cache madison results"
						echo
						exit 1
					fi
					if version_gte "18.09"; then
							search_command="apt-cache madison docker-ce-cli | grep '$pkg_pattern' | head -1 | awk '{$1=$1};1' | cut -d' ' -f 3"
							echo "INFO: $search_command"
							cli_pkg_version="=$($sh_c "$search_command")"
					fi
					pkg_version="=$pkg_version"
				fi
			fi
			(
				pkgs="docker-ce${pkg_version%=}"
				if version_gte "18.09"; then
						# older versions didn't ship the cli and containerd as separate packages
						pkgs="$pkgs docker-ce-cli${cli_pkg_version%=} containerd.io"
				fi
				if version_gte "20.10"; then
						pkgs="$pkgs docker-compose-plugin docker-ce-rootless-extras$pkg_version"
				fi
				if version_gte "23.0"; then
						pkgs="$pkgs docker-buildx-plugin"
				fi
				if ! is_dry_run; then
					set -x
				fi
				$sh_c "DEBIAN_FRONTEND=noninteractive apt-get install -y -qq $pkgs >/dev/null"
			)
			echo_docker_as_nonroot
			exit 0
			;;
		centos|fedora|rhel)
			if [ "$(uname -m)" != "s390x" ] && [ "$lsb_dist" = "rhel" ]; then
				echo "Packages for RHEL are currently only available for s390x."
				exit 1
			fi

			if command_exists dnf; then
				pkg_manager="dnf"
				pkg_manager_flags="--best"
				config_manager="dnf config-manager"
				enable_channel_flag="--set-enabled"
				disable_channel_flag="--set-disabled"
				pre_reqs="dnf-plugins-core"
			else
				pkg_manager="yum"
				pkg_manager_flags=""
				config_manager="yum-config-manager"
				enable_channel_flag="--enable"
				disable_channel_flag="--disable"
				pre_reqs="yum-utils"
			fi

			if [ "$lsb_dist" = "fedora" ]; then
				pkg_suffix="fc$dist_version"
			else
				pkg_suffix="el"
			fi
			repo_file_url="$DOWNLOAD_URL/linux/$lsb_dist/$REPO_FILE"
			(
				if ! is_dry_run; then
					set -x
				fi
				$sh_c "$pkg_manager $pkg_manager_flags install -y -q $pre_reqs"
				$sh_c "$config_manager --add-repo $repo_file_url"

				if [ "$CHANNEL" != "stable" ]; then
					$sh_c "$config_manager $disable_channel_flag 'docker-ce-*'"
					$sh_c "$config_manager $enable_channel_flag 'docker-ce-$CHANNEL'"
				fi
				$sh_c "$pkg_manager makecache"
			)
			pkg_version=""
			if [ -n "$VERSION" ]; then
				if is_dry_run; then
					echo "# WARNING: VERSION pinning is not supported in DRY_RUN"
				else
					pkg_pattern="$(echo "$VERSION" | sed 's/-ce-/\.ce.*/g' | sed 's/-/.*/g').*$pkg_suffix"
					search_command="$pkg_manager list --showduplicates docker-ce | grep '$pkg_pattern' | tail -1 | awk '{print $2}'"
					pkg_version="$($sh_c "$search_command")"
					echo "INFO: Searching repository for VERSION '$VERSION'"
					echo "INFO: $search_command"
					if [ -z "$pkg_version" ]; then
						echo
						echo "ERROR: '$VERSION' not found amongst $pkg_manager list results"
						echo
						exit 1
					fi
					if version_gte "18.09"; then
						# older versions don't support a cli package
						search_command="$pkg_manager list --showduplicates docker-ce-cli | grep '$pkg_pattern' | tail -1 | awk '{print $2}'"
						cli_pkg_version="$($sh_c "$search_command" | cut -d':' -f 2)"
					fi
					# Cut out the epoch and prefix with a '-'
					pkg_version="-$(echo "$pkg_version" | cut -d':' -f 2)"
				fi
			fi
			(
				pkgs="docker-ce$pkg_version"
				if version_gte "18.09"; then
					# older versions didn't ship the cli and containerd as separate packages
					if [ -n "$cli_pkg_version" ]; then
						pkgs="$pkgs docker-ce-cli-$cli_pkg_version containerd.io"
					else
						pkgs="$pkgs docker-ce-cli containerd.io"
					fi
				fi
				if version_gte "20.10"; then
					pkgs="$pkgs docker-compose-plugin docker-ce-rootless-extras$pkg_version"
				fi
				if version_gte "23.0"; then
						pkgs="$pkgs docker-buildx-plugin"
				fi
				if ! is_dry_run; then
					set -x
				fi
				$sh_c "$pkg_manager $pkg_manager_flags install -y -q $pkgs"
			)
			echo_docker_as_nonroot
			exit 0
			;;
		sles)
			if [ "$(uname -m)" != "s390x" ]; then
				echo "Packages for SLES are currently only available for s390x"
				exit 1
			fi
			repo_file_url="$DOWNLOAD_URL/linux/$lsb_dist/$REPO_FILE"
			pre_reqs="ca-certificates curl libseccomp2 awk"
			(
				if ! is_dry_run; then
					set -x
				fi
				$sh_c "zypper install -y $pre_reqs"
				$sh_c "zypper addrepo $repo_file_url"
				if ! is_dry_run; then
						cat >&2 <<-'EOF'
						WARNING!!
						openSUSE repository (https://download.opensuse.org/repositories/security:/SELinux) will be enabled now.
						Do you wish to continue?
						You may press Ctrl+C now to abort this script.
						EOF
						( set -x; sleep 30 )
				fi
				opensuse_repo="https://download.opensuse.org/repositories/security:/SELinux/openSUSE_Factory/security:SELinux.repo"
				$sh_c "zypper addrepo $opensuse_repo"
				$sh_c "zypper --gpg-auto-import-keys refresh"
				$sh_c "zypper lr -d"
			)
			pkg_version=""
			if [ -n "$VERSION" ]; then
				if is_dry_run; then
					echo "# WARNING: VERSION pinning is not supported in DRY_RUN"
				else
					pkg_pattern="$(echo "$VERSION" | sed 's/-ce-/\.ce.*/g' | sed 's/-/.*/g')"
					search_command="zypper search -s --match-exact 'docker-ce' | grep '$pkg_pattern' | tail -1 | awk '{print $6}'"
					pkg_version="$($sh_c "$search_command")"
					echo "INFO: Searching repository for VERSION '$VERSION'"
					echo "INFO: $search_command"
					if [ -z "$pkg_version" ]; then
						echo
						echo "ERROR: '$VERSION' not found amongst zypper list results"
						echo
						exit 1
					fi
					search_command="zypper search -s --match-exact 'docker-ce-cli' | grep '$pkg_pattern' | tail -1 | awk '{print $6}'"
					# It's okay for cli_pkg_version to be blank, since older versions don't support a cli package
					cli_pkg_version="$($sh_c "$search_command")"
					pkg_version="-$pkg_version"
				fi
			fi
			(
				pkgs="docker-ce$pkg_version"
				if version_gte "18.09"; then
					if [ -n "$cli_pkg_version" ]; then
						# older versions didn't ship the cli and containerd as separate packages
						pkgs="$pkgs docker-ce-cli-$cli_pkg_version containerd.io"
					else
						pkgs="$pkgs docker-ce-cli containerd.io"
					fi
				fi
				if version_gte "20.10"; then
					pkgs="$pkgs docker-compose-plugin docker-ce-rootless-extras$pkg_version"
				fi
				if version_gte "23.0"; then
						pkgs="$pkgs docker-buildx-plugin"
				fi
				if ! is_dry_run; then
					set -x
				fi
				$sh_c "zypper -q install -y $pkgs"
			)
			echo_docker_as_nonroot
			exit 0
			;;
		*)
			if [ -z "$lsb_dist" ]; then
				if is_darwin; then
					echo
					echo "ERROR: Unsupported operating system 'macOS'"
					echo "Please get Docker Desktop from https://www.docker.com/products/docker-desktop"
					echo
					exit 1
				fi
			fi
			echo
			echo "ERROR: Unsupported distribution '$lsb_dist'"
			echo
			exit 1
			;;
	esac
	exit 1
}

# wrapped up in a function so that we have some protection against only getting
# half the file during "curl | sh"
do_install

上传到服务器中
在此路径下执行

sudo sh get-docker.sh --mirror Aliyun

等到安装完成即可

修改配置文件

路径: /etc/docker/daemon.json
没有daemon.json文件则新建

{
  "builder": {
    "gc": {
      "defaultKeepStorage": "20GB",
      "enabled": true
    }
  },
  "experimental": false,
  "features": {
    "buildkit": true
  },
  "live-restore": true,
  "registry-mirrors": [
    "https://docker.211678.top",
    "https://docker.1panel.live",
    "https://hub.rat.dev",
    "https://docker.m.daocloud.io",
    "https://do.nark.eu.org",
    "https://dockerpull.com",
    "https://dockerproxy.cn",
    "https://docker.awsl9527.cn/"
  ],
  "data-root":"/mnt/sdb/dockerdata"
}

注:“data-root”:“/mnt/sdb/dockerdata” 是镜像保存位置,可修改

本文地址:https://www.vps345.com/4749.html

搜索文章

Tags

PV计算 带宽计算 流量带宽 服务器带宽 上行带宽 上行速率 什么是上行带宽? CC攻击 攻击怎么办 流量攻击 DDOS攻击 服务器被攻击怎么办 源IP 服务器 linux 运维 游戏 云计算 ssh deepseek Ollama 模型联网 API CherryStudio python MCP llama 算法 opencv 自然语言处理 神经网络 语言模型 javascript 前端 chrome edge harmonyos 华为 开发语言 typescript 计算机网络 ubuntu 数据库 centos oracle 关系型 安全 分布式 阿里云 网络 网络安全 网络协议 进程 操作系统 进程控制 Ubuntu ollama ai 人工智能 llm php android adb nginx 监控 自动化运维 numpy 经验分享 uni-app tcp/ip 银河麒麟 kylin v10 麒麟 v10 c++ 深度优先 图论 并集查找 换根法 树上倍增 docker 容器 nuxt3 vue3 实时音视频 笔记 java tomcat maven intellij idea 自动化 蓝耘科技 元生代平台工作流 ComfyUI bash spring cloud intellij-idea kafka hibernate vscode fastapi mcp mcp-proxy mcp-inspector fastapi-mcp agent sse 豆瓣 追剧助手 迅雷 nas 微信 深度学习 YOLO 目标检测 计算机视觉 网络结构图 gitlab LDAP pycharm conda pillow node.js json html5 firefox 游戏程序 windows C 环境变量 进程地址空间 github 后端 git golang pytorch 机器学习 MQTT 消息队列 小程序 apache DeepSeek-R1 API接口 多线程服务器 Linux网络编程 Hyper-V WinRM TrustedHosts ide websocket mount挂载磁盘 wrong fs type LVM挂载磁盘 Centos7.9 开发环境 SSL证书 c# IIS .net core Hosting Bundle .NET Framework vs2022 Flask FastAPI Waitress Gunicorn uWSGI Uvicorn RTSP xop RTP RTSPServer 推流 视频 面试 性能优化 jdk 架构 YOLOv8 NPU Atlas800 A300I pro asi_bench http ssl ecm bpm MCP server C/S LLM Dell R750XS 科技 个人开发 电脑 zotero WebDAV 同步失败 代理模式 java-ee udp c语言 spring 重启 排查 系统重启 日志 原因 sql KingBase 策略模式 单例模式 云原生 devops springboot 微信小程序 Linux无人智慧超市 LInux多线程服务器 QT项目 LInux项目 单片机项目 .netcore oceanbase rc.local 开机自启 systemd 麒麟 spring boot 智能手机 NAS Termux Samba Linux express 权限 ollama下载加速 大模型 mysql 备份SQL Server数据库 数据库备份 傲梅企业备份网络版 wsl2 wsl 开源 媒体 学习方法 学习 kylin gaussdb xss AI编程 Windows log4j jupyter pip ip postman mock mock server 模拟服务器 mock服务器 Postman内置变量 Postman随机数据 远程工作 pppoe radius ESP32 Netty 即时通信 NIO 思科模拟器 思科 Cisco vue.js audio vue音乐播放器 vue播放音频文件 Audio音频播放器自定义样式 播放暂停进度条音量调节快进快退 自定义audio覆盖默认样式 智能路由器 华为云 vasp安装 qt virtualenv IIS服务器 IIS性能 日志监控 react next.js 部署 部署next.js macos microsoft SVN Server svn tortoise svn 华为od OD机试真题 华为OD机试真题 服务器能耗统计 stm32 物联网 单片机 AIGC TCP服务器 qt项目 qt项目实战 qt教程 低代码 客户端 5G 3GPP 卫星通信 银河麒麟服务器操作系统 系统激活 excel 系统安全 编辑器 SEO 微服务 CDN 数据结构 .net 安全威胁分析 vscode 1.86 laravel Docker Hub docker pull 镜像源 daemon.json junit 内存 jenkins 前端框架 unity unity3d 网络穿透 云服务器 redis SSH Xterminal elasticsearch aws googlecloud 服务器繁忙 备选 网站 api 调用 示例 rclone AList webdav fnOS LORA 大语言模型 NLP 向日葵 filezilla 无法连接服务器 连接被服务器拒绝 vsftpd 331/530 查询数据库服务IP地址 SQL Server 语音识别 AutoDL AI 爬虫 数据集 jmeter 软件测试 HCIE 数通 能力提升 面试宝典 技术 IT信息化 腾讯云 远程 命令 执行 sshpass 操作 外网访问 内网穿透 端口映射 eureka WSL2 django sqlite 华为认证 网络工程师 交换机 历史版本 下载 安装 prometheus kubernetes 监控k8s集群 集群内prometheus android studio web 嵌入式硬件 硬件架构 负载均衡 运维开发 shell sqlserver kamailio sip VoIP 大数据 大数据平台 webstorm rust腐蚀 统信 国产操作系统 虚拟机安装 debian 驱动开发 jar WSL win11 无法解析服务器的名称或地址 vSphere vCenter Java Applet URL操作 服务器建立 Socket编程 网络文件读取 armbian u-boot flask web3.py 升级 CVE-2024-7347 漏洞 pygame 小游戏 五子棋 web3 openwrt grafana 安装教程 GPU环境配置 Ubuntu22 CUDA PyTorch Anaconda安装 open Euler dde deepin 统信UOS 程序人生 LLM Web APP Streamlit 串口服务器 HTML audio 控件组件 vue3 audio音乐播放器 Audio标签自定义样式默认 vue3播放音频文件音效音乐 自定义audio播放器样式 播放暂停调整声音大小下载文件 孤岛惊魂4 僵尸进程 sysctl.conf vm.nr_hugepages 代码调试 ipdb Dify adobe 传统数据库升级 银行 LLMs 单一职责原则 Python 网络编程 聊天服务器 套接字 TCP Socket asm https mysql离线安装 ubuntu22.04 mysql8.0 IMM python3.11 gitea pdf asp.net大文件上传 asp.net大文件上传下载 asp.net大文件上传源码 ASP.NET断点续传 asp.net上传文件夹 asp.net上传大文件 .net core断点续传 远程桌面 hive Hive环境搭建 hive3环境 Hive远程模式 程序员 Docker Compose docker compose docker-compose SSL 域名 rsyslog Agent rabbitmq ruby flash-attention 报错 live555 rtsp rtp GCC aarch64 编译安装 HPC visualstudio 硬件工程 flutter mac matlab EasyConnect Cline tcpdump ecmascript nextjs reactjs 课程设计 鸿蒙 显卡驱动 联想开天P90Z装win10 DigitalOcean GPU服务器购买 GPU服务器哪里有 GPU服务器 Deepseek 搜索引擎 web安全 ssrf 失效的访问控制 ci/cd Reactor 设计模式 C++ string模拟实现 深拷贝 浅拷贝 经典的string类问题 三个swap Linux awk awk函数 awk结构 awk内置变量 awk参数 awk脚本 awk详解 网络攻击模型 ddos 1024程序员节 deepseek r1 redhat ios bug gpu算力 Ubuntu 24.04.1 轻量级服务器 软件工程 机器人 odoo 服务器动作 Server action springboot远程调试 java项目远程debug docker远程debug java项目远程调试 springboot远程 创意 社区 frp rpc 远程过程调用 Windows环境 sentinel 中间件 CPU 直播推流 es jvm 高效日志打印 串口通信日志 服务器日志 系统状态监控日志 异常记录日志 go css3 kvm 无桌面 命令行 微信公众平台 JAVA Java 佛山戴尔服务器维修 佛山三水服务器维修 wps 安卓 ffmpeg 音视频 openEuler GaN HEMT 氮化镓 单粒子烧毁 辐射损伤 辐照效应 交叉编译 嵌入式 Wi-Fi MacOS录屏软件 云电竞 云电脑 todesk 职场和发展 rust linux驱动开发 arm开发 UOS 统信操作系统 yum C++软件实战问题排查经验分享 0xfeeefeee 0xcdcdcdcd 动态库加载失败 程序启动失败 程序运行权限 标准用户权限与管理员权限 seatunnel 游戏服务器 Minecraft rag ragflow ragflow 源码启动 chatgpt llama3 Chatglm 开源大模型 cursor windows日志 数据挖掘 ansible playbook 宝塔面板访问不了 宝塔面板网站访问不了 宝塔面板怎么配置网站能访问 宝塔面板配置ip访问 宝塔面板配置域名访问教程 宝塔面板配置教程 iDRAC R720xd glibc agi 服务器无法访问 ip地址无法访问 无法访问宝塔面板 宝塔面板打不开 XFS xfs文件系统损坏 I_O error mongodb kind iot 温湿度数据上传到服务器 Arduino HTTP vim visual studio code html FunASR ASR HiCar CarLife+ CarPlay QT RK3588 个人博客 集成学习 集成测试 主板 电源 网卡 信息与通信 unix rtsp服务器 rtsp server android rtsp服务 安卓rtsp服务器 移动端rtsp服务 大牛直播SDK 博客 fpga开发 远程连接 rdp 实验 游戏开发 linux 命令 sed 命令 热榜 gcc RoboVLM 通用机器人策略 VLA设计哲学 vlm fot robot 视觉语言动作模型 具身智能 游戏引擎 postgresql pgpool 元服务 应用上架 HarmonyOS Next BMC IPMI 带外管理 硬件 设备 GPU PCI-Express 端口测试 图形化界面 换源 国内源 Debian crosstool-ng 田俊楠 阻塞队列 生产者消费者模型 服务器崩坏原因 jetty undertow langchain deep learning grub 版本升级 扩容 计算机外设 软件需求 docker部署翻译组件 docker部署deepl docker搭建deepl java对接deepl 翻译组件使用 AI大模型 强化学习 RAGFlow ISO镜像作为本地源 edge浏览器 群晖 outlook vue 测试工具 dify gitee 相机 磁盘镜像 服务器镜像 服务器实时复制 实时文件备份 CentOS p2p Erlang OTP gen_server 热代码交换 事务语义 虚拟机 MNN DeepSeek Qwen 自动化任务管理 大模型推理 大模型学习 大模型教程 ABAP ui neo4j 知识图谱 k8s tensorflow 跨域 trae 镜像 Ubuntu DeepSeek DeepSeek Ubuntu DeepSeek 本地部署 DeepSeek 知识库 DeepSeek 私有化知识库 本地部署 DeepSeek DeepSeek 私有化部署 HTTP 服务器控制 ESP32 DeepSeek 离线部署dify minicom 串口调试工具 selete 高级IO ruoyi 多层架构 解耦 LInux dns是什么 如何设置电脑dns dns应该如何设置 车载系统 银河麒麟桌面操作系统 Kylin OS 国产化 DeepSeek行业应用 Heroku 网站部署 在线预览 xlsx xls文件 在浏览器直接打开解析xls表格 前端实现vue3打开excel 文件地址url或接口文档流二进 无人机 tcp 存储维护 NetApp存储 EMC存储 deekseek 知识库 yum源切换 更换国内yum源 我的世界服务器搭建 minecraft TrueLicense 游戏机 hugo W5500 OLED u8g2 远程控制 rustdesk SWAT 配置文件 服务管理 网络共享 Xinference 微信分享 Image wxopensdk ue5 vr SSH 服务 SSH Server OpenSSH Server cd 目录切换 超融合 分布式训练 系统架构 计算机 cuda AI写作 AI作画 eNSP 企业网络规划 华为eNSP 网络规划 金仓数据库 2025 征文 数据库平替用金仓 图像处理 3d 分析解读 micropython esp32 mqtt AI agent DocFlow r语言 数据可视化 数据分析 风扇控制软件 react.js 算力 leetcode 推荐算法 fd 文件描述符 Radius CentOS Stream npm 信号 dubbo docker命令大全 国标28181 视频监控 监控接入 语音广播 流程 SIP SDP 其他 数学建模 小艺 Pura X 银河麒麟高级服务器 外接硬盘 Kylin 怎么卸载MySQL MySQL怎么卸载干净 MySQL卸载重新安装教程 MySQL5.7卸载 Linux卸载MySQL8.0 如何卸载MySQL教程 MySQL卸载与安装 物联网开发 windwos防火墙 defender防火墙 win防火墙白名单 防火墙白名单效果 防火墙只允许指定应用上网 防火墙允许指定上网其它禁止 根服务器 clickhouse 智能音箱 智能家居 C语言 服务器数据恢复 数据恢复 存储数据恢复 北亚数据恢复 oracle数据恢复 双系统 社交电子 数据库系统 高效远程协作 TrustViewer体验 跨设备操作便利 智能远程控制 李心怡 EMQX 通信协议 边缘计算 西门子PLC 通讯 MacMini Mac 迷你主机 mini Apple HAProxy 宠物 毕业设计 免费学习 宠物领养 宠物平台 webrtc 蓝桥杯 Linux的权限 XCC Lenovo Ubuntu 24 常用命令 Ubuntu 24 Ubuntu vi 异常处理 chfs ubuntu 16.04 繁忙 解决办法 替代网站 汇总推荐 AI推理 docker部署Python 显示管理器 lightdm gdm dba 宝塔面板 同步 备份 建站 YOLOv12 Python基础 Python教程 Python技巧 大模型入门 minio 直流充电桩 充电桩 skynet VR手套 数据手套 动捕手套 动捕数据手套 IM即时通讯 QQ 企业微信 剪切板对通 HTML FORMAT Redis Desktop zabbix 需求分析 规格说明书 弹性计算 裸金属服务器 弹性裸金属服务器 虚拟化 Claude selenium embedding 文件系统 路径解析 大模型面经 AnythingLLM AnythingLLM安装 DevEco Studio 王者荣耀 程序员创富 软链接 硬链接 火绒安全 Nuxt.js 内网服务器 内网代理 内网通信 list apt uniapp 链表 ubuntu20.04 开机黑屏 恒源云 css autodl cnn DenseNet 影刀 #影刀RPA# AD域 命名管道 客户端与服务端通信 软件定义数据中心 sddc 阿里云ECS CrewAI 反向代理 致远OA OA服务器 服务器磁盘扩容 健康医疗 7z 输入法 okhttp CORS av1 电视盒子 机顶盒ROM 魔百盒刷机 雨云 NPS 基础环境 飞书 流水线 脚本式流水线 dns efficientVIT YOLOv8替换主干网络 TOLOv8 xshell termius iterm2 can 线程池 增强现实 沉浸式体验 应用场景 技术实现 案例分析 AR 数据仓库 数据库开发 数据库架构 database matplotlib 智能硬件 Linux的基础指令 编程 实习 自动驾驶 arm c oneapi 缓存 大模型微调 keepalived 沙盒 word sonoma 自动更新 服务网格 istio js gpt linux上传下载 word图片自动上传 word一键转存 复制word图片 复制word图文 复制word公式 粘贴word图文 粘贴word公式 netty CH340 串口驱动 CH341 uart 485 信号处理 ubuntu24 vivado24 safari 系统 wpf Google pay Apple pay chrome devtools chromedriver USB网络共享 MS Materials openssl 密码学 Playwright 自动化测试 gateway Clion Nova ResharperC++引擎 Centos7 远程开发 交互 VMware安装Ubuntu Ubuntu安装k8s 业界资讯 xcode 鲲鹏 模拟退火算法 figma ssh远程登录 EtherNet/IP串口网关 EIP转RS485 EIP转Modbus EtherNet/IP网关协议 EIP转RS485网关 EIP串口服务器 ArcTS 登录 ArcUI GridItem 虚幻 虚幻引擎 鸿蒙系统 arkUI code-server mosquitto 合成模型 扩散模型 图像生成 wsgiref Web 服务器网关接口 flink echarts 信息可视化 网页设计 序列化反序列化 浏览器开发 AI浏览器 ssh漏洞 ssh9.9p2 CVE-2025-23419 华为机试 k8s集群资源管理 云原生开发 GoogLeNet 安全架构 nvidia hadoop RAGFLOW AISphereButler Cursor springsecurity6 oauth2 授权服务器 自定义客户端 SAS vmware 卡死 自动化编程 ukui 麒麟kylinos openeuler 烟花代码 烟花 元旦 鸿蒙开发 移动开发 etl Linux PID 框架搭建 ai小智 语音助手 ai小智配网 ai小智教程 esp32语音助手 diy语音助手 视觉检测 lsb_release /etc/issue /proc/version uname -r 查看ubuntu版本 大大通 第三代半导体 碳化硅 语法 回显服务器 UDP的API使用 ESXi db VMware创建虚拟机 java-rocketmq 做raid 装系统 ip命令 新增网卡 新增IP 启动网卡 remote-ssh ardunio BLE HarmonyOS OpenHarmony 真机调试 ros2 moveit 机器人运动 tidb GLIBC VM搭建win2012 win2012应急响应靶机搭建 攻击者获取服务器权限 上传wakaung病毒 应急响应并溯源 挖矿病毒处置 应急响应综合性靶场 Windsurf telnet 远程登录 sdkman sequoiaDB h.264 捆绑 链接 谷歌浏览器 youtube google gmail RustDesk自建服务器 rustdesk服务器 docker rustdesk 功能测试 模拟实现 信创 信创终端 中科方德 n8n dity make 图形渲染 项目部署到linux服务器 项目部署过程 mcu ftp PX4 ROS VPS pyqt 搭建个人相关服务器 黑苹果 VMware docker run 数据卷挂载 交互模式 sqlite3 微信小程序域名配置 微信小程序服务器域名 微信小程序合法域名 小程序配置业务域名 微信小程序需要域名吗 微信小程序添加域名 WebRTC prometheus数据采集 prometheus数据模型 prometheus特点 SenseVoice ux 多线程 程序 vscode1.86 1.86版本 ssh远程连接 实战案例 wordpress 无法访问wordpess后台 打开网站页面错乱 linux宝塔面板 wordpress更换服务器 searxng 网络药理学 生物信息学 生信 PPI String Cytoscape CytoHubba RTMP 应用层 本地知识库部署 DeepSeek R1 模型 单元测试 测试用例 压力测试 Docker引擎已经停止 Docker无法使用 WSL进度一直是0 镜像加速地址 perf big data alias unalias 别名 cpp-httplib opensearch helm 技能大赛 DBeaver kerberos 服务器主板 AI芯片 threejs 3D cudnn MI300x TCP协议 混合开发 环境安装 JDK TrinityCore 魔兽世界 regedit 开机启动 抗锯齿 Kali 拓扑图 linux环境变量 gradle 产测工具框架 IMX6ULL 管理框架 C# MQTTS 双向认证 emqx IPMITOOL 硬件管理 环境配置 firewall opcua opcda KEPServer安装 openstack Xen KVM 源码 open webui VLAN 企业网络 spark HistoryServer Spark YARN jobhistory 本地化部署 KylinV10 麒麟操作系统 Vmware Headless Linux NFS 开发 centos-root /dev/mapper yum clean all df -h / du -sh 考研 milvus onlyoffice 在线office k8s资源监控 annotations自动化 自动化监控 监控service 监控jvm 京东云 文件分享 iis VSCode 移动云 云服务 基础入门 可信计算技术 camera Arduino 电子信息 token sas elk Logstash 日志采集 FTP 服务器 崖山数据库 YashanDB IDEA webgl EtherCAT转Modbus ECT转Modbus协议 EtherCAT转485网关 ECT转Modbus串口网关 EtherCAT转485协议 ECT转Modbus网关 欧标 OCPP zookeeper idm nfs 服务器部署ai模型 trea idea iBMC UltraISO 玩机技巧 软件分享 软件图标 Anolis nginx安装 linux插件下载 lua 多路转接 epoll raid5数据恢复 磁盘阵列数据恢复 chrome 浏览器下载 chrome 下载安装 谷歌浏览器下载 僵尸世界大战 游戏服务器搭建 私有化 本地部署 远程看看 远程协助 性能分析 银河麒麟操作系统 Trae IDE AI 原生集成开发环境 Trae AI 域名服务 DHCP 符号链接 配置 GIS 遥感 WebGIS 实时互动 嵌入式实习 mamba 音乐库 飞牛 实用教程 虚拟局域网 nac 802.1 portal 互联网医院 树莓派 VNC 三级等保 服务器审计日志备份 ai工具 v10 软件 ldap MySql dock 加速 prompt 政务 分布式系统 监控运维 Prometheus Grafana TRAE Kylin-Server 服务器安装 USB转串口 多个客户端访问 IO多路复用 TCP相关API 飞牛NAS 飞牛OS MacBook Pro harmonyOS面试题 OpenSSH 内网环境 bootstrap Kali Linux 黑客 渗透测试 信息收集 邮件APP 免费软件 gpt-3 文心一言 黑客技术 Ubuntu Server Ubuntu 22.04.5 流式接口 URL 架构与原理 移动魔百盒 大模型应用 嵌入式系统开发 yaml Ultralytics 可视化 代理服务器 SSE ceph IPv4 子网掩码 公网IP 私有IP SSH 密钥生成 SSH 公钥 私钥 生成 网卡的名称修改 eth0 ens33 etcd 数据安全 RBAC AI代码编辑器 triton 模型分析 Linux环境 Linux24.04 人工智能生成内容 大文件分片上传断点续传及进度条 如何批量上传超大文件并显示进度 axios大文件切片上传详细教 node服务器合并切片 vue3大文件上传报错提示错误 大文件秒传跨域报错cors 网工 金融 压测 ECS 网络用户购物行为分析可视化平台 大数据毕业设计 seleium SRS 流媒体 直播 技术共享 防火墙 NAT转发 NAT Server Unity Dedicated Server Host Client 无头主机 数据管理 数据治理 数据编织 数据虚拟化 AP配网 AK配网 小程序AP配网和AK配网教程 WIFI设备配网小程序UDP开 Deepseek-R1 私有化部署 推理模型 深度求索 私域 iperf3 带宽测试 vue-i18n 国际化多语言 vue2中英文切换详细教程 如何动态加载i18n语言包 把语言json放到服务器调用 前端调用api获取语言配置文件 mariadb rocketmq 线程 xrdp 远程服务 毕设 视频编解码 源码剖析 rtsp实现步骤 流媒体开发 make命令 makefile文件 thingsboard 腾讯云大模型知识引擎 粘包问题 P2P HDLC conda配置 conda镜像源 dash 正则表达式 QT 5.12.12 QT开发环境 Ubuntu18.04 iphone 性能测试 docker搭建nacos详解 docker部署nacos docker安装nacos 腾讯云搭建nacos centos7搭建nacos jina 雨云服务器 匿名管道 iftop 网络流量监控 环境迁移 eclipse 常用命令 文本命令 目录命令 大模型部署 wireshark RAID RAID技术 磁盘 存储 lio-sam SLAM uv cpu 实时 使用 midjourney composer 相差8小时 UTC 时间 Typore dell服务器 risc-v Dell HPE 联想 浪潮 win服务器架设 windows server 软负载 AI-native Docker Desktop 多进程 navicat yolov8 ipython 昇腾 npu 迁移指南 swoole FTP服务器 状态管理的 UDP 服务器 Arduino RTOS llama.cpp 持续部署 加解密 Yakit yaklang .net mvc断点续传 less Attention 前端面试题 干货分享 黑客工具 密码爆破 DNS anaconda 我的世界 我的世界联机 数码 软考 linux安装配置 firewalld UDP Vmamba AI Agent 字节智能运维 办公自动化 自动化生成 pdf教程 rnn Invalid Host allowedHosts mybatis 服务器管理 配置教程 网站管理 Cookie ubuntu24.04.1 宕机切换 服务器宕机 产品经理 MDK 嵌入式开发工具 论文笔记 sublime text bonding 链路聚合 IO模型 arcgis 执法记录仪 智能安全帽 smarteye tailscale derp derper 中转 矩阵 线性代数 电商平台 SysBench 基准测试 服务器时间 流量运营 状态模式 RAG 检索增强生成 文档解析 大模型垂直应用 g++ g++13 ue4 着色器 工业4.0 DOIT 四博智联 医疗APP开发 app开发 pyautogui stm32项目 fast bcompare Beyond Compare 开机自启动 模拟器 教程 工作流 workflow 运维监控 音乐服务器 Navidrome 音流 transformer VS Code rpa ping++ 小智AI服务端 xiaozhi TTS 代理 AD 域管理 网站搭建 serv00 H3C 微信开放平台 微信公众号配置 bot Docker freebsd mm-wiki搭建 linux搭建mm-wiki mm-wiki搭建与使用 mm-wiki使用 mm-wiki详解 springcloud PVE hexo Linux find grep kali 共享文件夹 IMX317 MIPI H265 VCU Ark-TS语言 磁盘监控 嵌入式Linux IPC 服务器配置 ShenTong 聊天室 hosts 前后端分离 EMUI 回退 降级 gnu 系统开发 binder framework 源码环境 Unity插件 ocr iventoy VmWare OpenEuler 毕昇JDK 上传视频至服务器代码 vue3批量上传多个视频并预览 如何实现将本地视频上传到网页 element plu视频上传 ant design vue vue3本地上传视频及预览移除 x64 SIGSEGV xmm0 ArkUI 多端开发 智慧分发 应用生态 鸿蒙OS 剧本 file server http server web server Node-Red 编程工具 流编程 muduo X11 Xming cmos uni-file-picker 拍摄从相册选择 uni.uploadFile H5上传图片 微信小程序上传图片 中兴光猫 换光猫 网络桥接 自己换光猫 xpath定位元素 灵办AI ros bat 端口 查看 ss 半虚拟化 硬件虚拟化 Hypervisor Spring Security VMware安装mocOS macOS系统安装 Open WebUI 计算虚拟化 弹性裸金属