• docker安装

安装docker

  • 由于 apt 源使用 HTTPS 以确保软件下载过程中不被篡改。因此,我们首先需要添加使用 HTTPS 传输的软件包以及 CA 证书。
sudo apt-get install \apt-transport-https \ca-certificates \curl \gnupg \lsb-release
  build git:(master) ✗ sudo apt-get install \apt-transport-https \ca-certificates \curl \gnupg \lsb-release
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
lsb-release is already the newest version (11.1.0ubuntu4).
The following packages were automatically installed and are no longer required:bolt busybox-initramfs cryptsetup finalrd fwupd-signed gir1.2-packagekitglib-1.0 initramfs-tools-binklibc-utils libappstream4 libatasmart4 libblockdev-crypto2 libblockdev-fs2 libblockdev-loop2libblockdev-part-err2 libblockdev-part2 libblockdev-swap2 libblockdev-utils2 libblockdev2 libefiboot1libefivar1 libflashrom1 libftdi1-2 libfwupd2 libfwupdplugin5 libgcab-1.0-0 libgpgme11 libgusb2 libisns0libjcat1 libklibc libmbim-glib4 libmbim-proxy libmm-glib0 libnetplan0 libnspr4 libnss3 libopeniscsiusrlibpackagekit-glib2-18 libparted-fs-resize0 libplymouth5 libpolkit-agent-1-0 libpolkit-gobject-1-0libqmi-glib5 libqmi-proxy libsgutils2-2 libsmbios-c2 libstemmer0d libtcl8.6 libudisks2-0 liburcu8libvolume-key1 libxmlb2 linux-base python3-software-properties sbsigntool secureboot-db sg3-utilssquashfs-tools tcl tcl8.6 usb-modeswitch usb-modeswitch-data
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:dirmngr gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv libcurl4
Suggested packages:dbus-user-session libpam-systemd pinentry-gnome3 tor parcimonie xloadimage scdaemon
The following NEW packages will be installed:apt-transport-https
The following packages will be upgraded:ca-certificates curl dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-servergpgconf gpgsm gpgv libcurl4
14 upgraded, 1 newly installed, 0 to remove and 206 not upgraded.
Need to get 2,875 kB of archives.
After this operation, 165 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://mirrors.aliyun.com/ubuntu jammy-security/main amd64 gpg-wks-client amd64 2.2.27-3ubuntu2.1 [62.7 kB]
Get:2 http://mirrors.aliyun.com/ubuntu jammy-security/main amd64 dirmngr amd64 2.2.27-3ubuntu2.1 [293 kB]
Get:3 http://mirrors.aliyun.com/ubuntu jammy-security/main amd64 gnupg-utils amd64 2.2.27-3ubuntu2.1 [308 kB]
Get:4 http://mirrors.aliyun.com/ubuntu jammy-security/main amd64 gpg-wks-server amd64 2.2.27-3ubuntu2.1 [57.5 kB]
Get:5 http://mirrors.aliyun.com/ubuntu jammy-security/main amd64 gpg-agent amd64 2.2.27-3ubuntu2.1 [209 kB]
Get:6 http://mirrors.aliyun.com/ubuntu jammy-security/main amd64 gpg amd64 2.2.27-3ubuntu2.1 [519 kB]
Get:7 http://mirrors.aliyun.com/ubuntu jammy-security/main amd64 gpgconf amd64 2.2.27-3ubuntu2.1 [94.2 kB]
Get:8 http://mirrors.aliyun.com/ubuntu jammy-security/main amd64 gnupg-l10n all 2.2.27-3ubuntu2.1 [54.4 kB]
Get:9 http://mirrors.aliyun.com/ubuntu jammy-security/main amd64 gnupg all 2.2.27-3ubuntu2.1 [315 kB]
Get:10 http://mirrors.aliyun.com/ubuntu jammy-security/main amd64 gpgsm amd64 2.2.27-3ubuntu2.1 [197 kB]
Get:11 http://mirrors.aliyun.com/ubuntu jammy-security/main amd64 gpgv amd64 2.2.27-3ubuntu2.1 [137 kB]
Get:12 http://mirrors.aliyun.com/ubuntu jammy-security/main amd64 ca-certificates all 20211016ubuntu0.22.04.1 [144 kB]
Get:13 http://mirrors.aliyun.com/ubuntu jammy-updates/universe amd64 apt-transport-https all 2.4.8 [1,506 B]
Get:14 http://mirrors.aliyun.com/ubuntu jammy-security/main amd64 curl amd64 7.81.0-1ubuntu1.6 [194 kB]
Get:15 http://mirrors.aliyun.com/ubuntu jammy-security/main amd64 libcurl4 amd64 7.81.0-1ubuntu1.6 [290 kB]
Fetched 2,875 kB in 31s (93.8 kB/s)
Preconfiguring packages ...
(Reading database ... 82475 files and directories currently installed.)
Preparing to unpack .../00-gpg-wks-client_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gpg-wks-client (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
Preparing to unpack .../01-dirmngr_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking dirmngr (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
Preparing to unpack .../02-gnupg-utils_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gnupg-utils (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
Preparing to unpack .../03-gpg-wks-server_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gpg-wks-server (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
Preparing to unpack .../04-gpg-agent_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gpg-agent (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
Preparing to unpack .../05-gpg_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gpg (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
Preparing to unpack .../06-gpgconf_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gpgconf (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
Preparing to unpack .../07-gnupg-l10n_2.2.27-3ubuntu2.1_all.deb ...
Unpacking gnupg-l10n (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
Preparing to unpack .../08-gnupg_2.2.27-3ubuntu2.1_all.deb ...
Unpacking gnupg (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
Preparing to unpack .../09-gpgsm_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gpgsm (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
Preparing to unpack .../10-gpgv_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gpgv (2.2.27-3ubuntu2.1) over (2.2.27-3ubuntu2) ...
Setting up gpgv (2.2.27-3ubuntu2.1) ...
(Reading database ... 82475 files and directories currently installed.)
Preparing to unpack .../ca-certificates_20211016ubuntu0.22.04.1_all.deb ...
Unpacking ca-certificates (20211016ubuntu0.22.04.1) over (20211016) ...
Selecting previously unselected package apt-transport-https.
Preparing to unpack .../apt-transport-https_2.4.8_all.deb ...
Unpacking apt-transport-https (2.4.8) ...
Preparing to unpack .../curl_7.81.0-1ubuntu1.6_amd64.deb ...
Unpacking curl (7.81.0-1ubuntu1.6) over (7.81.0-1ubuntu1.2) ...
Preparing to unpack .../libcurl4_7.81.0-1ubuntu1.6_amd64.deb ...
Unpacking libcurl4:amd64 (7.81.0-1ubuntu1.6) over (7.81.0-1ubuntu1.2) ...
Setting up apt-transport-https (2.4.8) ...
Setting up ca-certificates (20211016ubuntu0.22.04.1) ...
Updating certificates in /etc/ssl/certs...
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
0 added, 3 removed; done.
Setting up gnupg-l10n (2.2.27-3ubuntu2.1) ...
Setting up gpgconf (2.2.27-3ubuntu2.1) ...
Setting up libcurl4:amd64 (7.81.0-1ubuntu1.6) ...
Setting up curl (7.81.0-1ubuntu1.6) ...
Setting up gpg (2.2.27-3ubuntu2.1) ...
Setting up gnupg-utils (2.2.27-3ubuntu2.1) ...
Setting up gpg-agent (2.2.27-3ubuntu2.1) ...
Setting up gpgsm (2.2.27-3ubuntu2.1) ...
Setting up dirmngr (2.2.27-3ubuntu2.1) ...
Setting up gpg-wks-server (2.2.27-3ubuntu2.1) ...
Setting up gpg-wks-client (2.2.27-3ubuntu2.1) ...
Setting up gnupg (2.2.27-3ubuntu2.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3) ...
/sbin/ldconfig.real: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic linkProcessing triggers for man-db (2.10.2-1) ...
Processing triggers for install-info (6.8-4build1) ...
Processing triggers for ca-certificates (20211016ubuntu0.22.04.1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Scanning processes...
Scanning processor microcode...
Scanning linux images...Failed to retrieve available kernel versions.Failed to check for processor microcode upgrades.No services need to be restarted.No containers need to be restarted.No user sessions are running outdated binaries.No VM guests are running outdated hypervisor (qemu) binaries on this host.
➜  build git:(master) ✗

国内源


➜  build git:(master) ✗ curl -fsSL https://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
➜  build git:(master) ✗ echo \"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://mirrors.aliyun.com/docker-ce/linux/ubuntu \$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
➜  build git:(master) ✗
  • 以上命令会添加稳定版本的 Docker APT 镜像源,如果需要测试版本的 Docker 请将 stable 改为 test。

更新下

  build git:(master) ✗  sudo apt-get update
Get:1 https://mirrors.aliyun.com/docker-ce/linux/ubuntu jammy InRelease [48.9 kB]
Hit:2 http://mirrors.aliyun.com/ubuntu jammy InRelease
Hit:3 http://mirrors.aliyun.com/ubuntu jammy-security InRelease
Hit:4 http://mirrors.aliyun.com/ubuntu jammy-updates InRelease
Hit:5 https://mirrors.ustc.edu.cn/ubuntu jammy InRelease
Hit:6 http://mirrors.aliyun.com/ubuntu jammy-proposed InRelease
Hit:7 https://mirrors.ustc.edu.cn/ubuntu jammy-updates InRelease
Hit:8 http://mirrors.163.com/ubuntu jammy InRelease
Hit:9 http://mirrors.aliyun.com/ubuntu jammy-backports InRelease
Hit:10 https://mirrors.ustc.edu.cn/ubuntu jammy-backports InRelease
Hit:11 https://mirrors.ustc.edu.cn/ubuntu jammy-security InRelease
Hit:12 https://mirrors.ustc.edu.cn/ubuntu jammy-proposed InRelease
Hit:13 http://mirrors.163.com/ubuntu jammy-security InRelease
Hit:14 http://mirrors.163.com/ubuntu jammy-updates InRelease
Hit:15 http://mirrors.163.com/ubuntu jammy-proposed InRelease
Hit:16 http://mirrors.163.com/ubuntu jammy-backports InRelease
Hit:17 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:18 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:19 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Get:20 https://mirrors.aliyun.com/docker-ce/linux/ubuntu jammy/stable amd64 Packages [9,980 B]
Hit:21 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Fetched 58.8 kB in 11s (5,325 B/s)
Reading package lists... Done
➜  build git:(master) ✗

官方源 :暂时没启用

  • 官方源

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

docker软件官方源

# 官方源
$ echo \"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

install docker

➜  build git:(master) ✗ sudo apt-get install docker-ce docker-ce-cli containerd.io
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:bolt busybox-initramfs cryptsetup finalrd fwupd-signed gir1.2-packagekitglib-1.0 initramfs-tools-binklibc-utils libappstream4 libatasmart4 libblockdev-crypto2 libblockdev-fs2 libblockdev-loop2libblockdev-part-err2 libblockdev-part2 libblockdev-swap2 libblockdev-utils2 libblockdev2 libefiboot1libefivar1 libflashrom1 libftdi1-2 libfwupd2 libfwupdplugin5 libgcab-1.0-0 libgpgme11 libgusb2 libisns0libjcat1 libklibc libmbim-glib4 libmbim-proxy libmm-glib0 libnetplan0 libnspr4 libnss3 libopeniscsiusrlibpackagekit-glib2-18 libparted-fs-resize0 libplymouth5 libpolkit-agent-1-0 libpolkit-gobject-1-0libqmi-glib5 libqmi-proxy libsgutils2-2 libsmbios-c2 libstemmer0d libtcl8.6 libudisks2-0 liburcu8libvolume-key1 libxmlb2 linux-base python3-software-properties sbsigntool secureboot-db sg3-utilssquashfs-tools tcl tcl8.6 usb-modeswitch usb-modeswitch-data
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:dbus dbus-user-session dbus-x11 docker-ce-rootless-extras docker-scan-plugin libdbus-1-3 libdbus-1-devlibpam-systemd libslirp0 libsystemd0 pigz slirp4netns systemd systemd-sysv
Suggested packages:aufs-tools cgroupfs-mount | cgroup-lite systemd-container libtss2-esys-3.0.2-0 libtss2-mu0 libtss2-rc0policykit-1
Recommended packages:systemd-timesyncd | time-daemon libnss-systemd
The following NEW packages will be installed:containerd.io dbus-user-session docker-ce docker-ce-cli docker-ce-rootless-extras docker-scan-pluginlibpam-systemd libslirp0 pigz slirp4netns
The following packages will be upgraded:dbus dbus-x11 libdbus-1-3 libdbus-1-dev libsystemd0 systemd systemd-sysv
7 upgraded, 10 newly installed, 0 to remove and 199 not upgraded.
Need to get 108 MB of archives.
After this operation, 384 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
0% [Working]
  • 配置了代理后,国内阿里云有点慢?

安装成功


➜  build git:(master) ✗ sudo apt-get install docker-ce docker-ce-cli containerd.io
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:bolt busybox-initramfs cryptsetup finalrd fwupd-signed gir1.2-packagekitglib-1.0 initramfs-tools-binklibc-utils libappstream4 libatasmart4 libblockdev-crypto2 libblockdev-fs2 libblockdev-loop2libblockdev-part-err2 libblockdev-part2 libblockdev-swap2 libblockdev-utils2 libblockdev2 libefiboot1libefivar1 libflashrom1 libftdi1-2 libfwupd2 libfwupdplugin5 libgcab-1.0-0 libgpgme11 libgusb2 libisns0libjcat1 libklibc libmbim-glib4 libmbim-proxy libmm-glib0 libnetplan0 libnspr4 libnss3 libopeniscsiusrlibpackagekit-glib2-18 libparted-fs-resize0 libplymouth5 libpolkit-agent-1-0 libpolkit-gobject-1-0libqmi-glib5 libqmi-proxy libsgutils2-2 libsmbios-c2 libstemmer0d libtcl8.6 libudisks2-0 liburcu8libvolume-key1 libxmlb2 linux-base python3-software-properties sbsigntool secureboot-db sg3-utilssquashfs-tools tcl tcl8.6 usb-modeswitch usb-modeswitch-data
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:dbus dbus-user-session dbus-x11 docker-ce-rootless-extras docker-scan-plugin libdbus-1-3 libdbus-1-devlibpam-systemd libslirp0 libsystemd0 pigz slirp4netns systemd systemd-sysv
Suggested packages:aufs-tools cgroupfs-mount | cgroup-lite systemd-container libtss2-esys-3.0.2-0 libtss2-mu0 libtss2-rc0policykit-1
Recommended packages:systemd-timesyncd | time-daemon libnss-systemd
The following NEW packages will be installed:containerd.io dbus-user-session docker-ce docker-ce-cli docker-ce-rootless-extras docker-scan-pluginlibpam-systemd libslirp0 pigz slirp4netns
The following packages will be upgraded:dbus dbus-x11 libdbus-1-3 libdbus-1-dev libsystemd0 systemd systemd-sysv
7 upgraded, 10 newly installed, 0 to remove and 199 not upgraded.
Need to get 108 MB of archives.
After this operation, 384 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://mirrors.aliyun.com/ubuntu jammy-updates/main amd64 systemd-sysv amd64 249.11-0ubuntu3.6 [10.5 kB]
Get:2 https://mirrors.aliyun.com/docker-ce/linux/ubuntu jammy/stable amd64 containerd.io amd64 1.6.12-1 [27.7 MB]
Get:3 http://mirrors.aliyun.com/ubuntu jammy-updates/main amd64 systemd amd64 249.11-0ubuntu3.6 [4,580 kB]
Get:4 http://mirrors.aliyun.com/ubuntu jammy-updates/main amd64 libsystemd0 amd64 249.11-0ubuntu3.6 [318 kB]
Get:5 http://mirrors.aliyun.com/ubuntu jammy/universe amd64 pigz amd64 2.6-1 [63.6 kB]
Get:6 http://mirrors.aliyun.com/ubuntu jammy-security/main amd64 libdbus-1-dev amd64 1.12.20-2ubuntu4.1 [188 kB]
Get:7 http://mirrors.aliyun.com/ubuntu jammy-security/main amd64 dbus-x11 amd64 1.12.20-2ubuntu4.1 [23.0 kB]
Get:8 http://mirrors.aliyun.com/ubuntu jammy-security/main amd64 dbus amd64 1.12.20-2ubuntu4.1 [158 kB]
Get:9 http://mirrors.aliyun.com/ubuntu jammy-security/main amd64 libdbus-1-3 amd64 1.12.20-2ubuntu4.1 [189 kB]
Get:10 http://mirrors.aliyun.com/ubuntu jammy-updates/main amd64 libpam-systemd amd64 249.11-0ubuntu3.6 [203 kB]
Get:11 http://mirrors.aliyun.com/ubuntu jammy-security/main amd64 dbus-user-session amd64 1.12.20-2ubuntu4.1 [9,442 B]
Get:12 http://mirrors.aliyun.com/ubuntu jammy/main amd64 libslirp0 amd64 4.6.1-1build1 [61.5 kB]
Get:13 http://mirrors.aliyun.com/ubuntu jammy/universe amd64 slirp4netns amd64 1.0.1-2 [28.2 kB]
Get:14 https://mirrors.aliyun.com/docker-ce/linux/ubuntu jammy/stable amd64 docker-ce-cli amd64 5:20.10.21~3-0~ubuntu-jammy [41.5 MB]
Get:15 https://mirrors.aliyun.com/docker-ce/linux/ubuntu jammy/stable amd64 docker-ce amd64 5:20.10.21~3-0~ubuntu-jammy [20.5 MB]
Get:16 https://mirrors.aliyun.com/docker-ce/linux/ubuntu jammy/stable amd64 docker-ce-rootless-extras amd64 5:20.10.21~3-0~ubuntu-jammy [8,389 kB]
Get:17 https://mirrors.aliyun.com/docker-ce/linux/ubuntu jammy/stable amd64 docker-scan-plugin amd64 0.21.0~ubuntu-jammy [3,622 kB]
Fetched 108 MB in 20min 43s (86.5 kB/s)
(Reading database ... 82476 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_249.11-0ubuntu3.6_amd64.deb ...
Unpacking systemd-sysv (249.11-0ubuntu3.6) over (249.11-0ubuntu3.1) ...
Preparing to unpack .../systemd_249.11-0ubuntu3.6_amd64.deb ...
Unpacking systemd (249.11-0ubuntu3.6) over (249.11-0ubuntu3.1) ...
Preparing to unpack .../libsystemd0_249.11-0ubuntu3.6_amd64.deb ...
Unpacking libsystemd0:amd64 (249.11-0ubuntu3.6) over (249.11-0ubuntu3.1) ...
Setting up libsystemd0:amd64 (249.11-0ubuntu3.6) ...
Selecting previously unselected package pigz.
(Reading database ... 82476 files and directories currently installed.)
Preparing to unpack .../00-pigz_2.6-1_amd64.deb ...
Unpacking pigz (2.6-1) ...
Preparing to unpack .../01-libdbus-1-dev_1.12.20-2ubuntu4.1_amd64.deb ...
Unpacking libdbus-1-dev:amd64 (1.12.20-2ubuntu4.1) over (1.12.20-2ubuntu4) ...
Preparing to unpack .../02-dbus-x11_1.12.20-2ubuntu4.1_amd64.deb ...
Unpacking dbus-x11 (1.12.20-2ubuntu4.1) over (1.12.20-2ubuntu4) ...
Preparing to unpack .../03-dbus_1.12.20-2ubuntu4.1_amd64.deb ...
Unpacking dbus (1.12.20-2ubuntu4.1) over (1.12.20-2ubuntu4) ...
Preparing to unpack .../04-libdbus-1-3_1.12.20-2ubuntu4.1_amd64.deb ...
Unpacking libdbus-1-3:amd64 (1.12.20-2ubuntu4.1) over (1.12.20-2ubuntu4) ...
Selecting previously unselected package libpam-systemd:amd64.
Preparing to unpack .../05-libpam-systemd_249.11-0ubuntu3.6_amd64.deb ...
Unpacking libpam-systemd:amd64 (249.11-0ubuntu3.6) ...
Selecting previously unselected package containerd.io.
Preparing to unpack .../06-containerd.io_1.6.12-1_amd64.deb ...
Unpacking containerd.io (1.6.12-1) ...
Selecting previously unselected package dbus-user-session.
Preparing to unpack .../07-dbus-user-session_1.12.20-2ubuntu4.1_amd64.deb ...
Unpacking dbus-user-session (1.12.20-2ubuntu4.1) ...
Selecting previously unselected package docker-ce-cli.
Preparing to unpack .../08-docker-ce-cli_5%3a20.10.21~3-0~ubuntu-jammy_amd64.deb ...
Unpacking docker-ce-cli (5:20.10.21~3-0~ubuntu-jammy) ...
Selecting previously unselected package docker-ce.
Preparing to unpack .../09-docker-ce_5%3a20.10.21~3-0~ubuntu-jammy_amd64.deb ...
Unpacking docker-ce (5:20.10.21~3-0~ubuntu-jammy) ...
Selecting previously unselected package docker-ce-rootless-extras.
Preparing to unpack .../10-docker-ce-rootless-extras_5%3a20.10.21~3-0~ubuntu-jammy_amd64.deb ...
Unpacking docker-ce-rootless-extras (5:20.10.21~3-0~ubuntu-jammy) ...
Selecting previously unselected package docker-scan-plugin.
Preparing to unpack .../11-docker-scan-plugin_0.21.0~ubuntu-jammy_amd64.deb ...
Unpacking docker-scan-plugin (0.21.0~ubuntu-jammy) ...
Selecting previously unselected package libslirp0:amd64.
Preparing to unpack .../12-libslirp0_4.6.1-1build1_amd64.deb ...
Unpacking libslirp0:amd64 (4.6.1-1build1) ...
Selecting previously unselected package slirp4netns.
Preparing to unpack .../13-slirp4netns_1.0.1-2_amd64.deb ...
Unpacking slirp4netns (1.0.1-2) ...
Setting up docker-scan-plugin (0.21.0~ubuntu-jammy) ...
Setting up systemd (249.11-0ubuntu3.6) ...
Initializing machine ID from D-Bus machine ID.
Setting up libdbus-1-3:amd64 (1.12.20-2ubuntu4.1) ...
Setting up dbus (1.12.20-2ubuntu4.1) ...
Setting up containerd.io (1.6.12-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service → /lib/systemd/system/containerd.service.
Setting up docker-ce-cli (5:20.10.21~3-0~ubuntu-jammy) ...
Setting up libslirp0:amd64 (4.6.1-1build1) ...
Setting up pigz (2.6-1) ...
Setting up dbus-x11 (1.12.20-2ubuntu4.1) ...
Setting up systemd-sysv (249.11-0ubuntu3.6) ...
Setting up slirp4netns (1.0.1-2) ...
Setting up libdbus-1-dev:amd64 (1.12.20-2ubuntu4.1) ...
Setting up docker-ce (5:20.10.21~3-0~ubuntu-jammy) ...
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
invoke-rc.d: could not determine current runlevel
Setting up libpam-systemd:amd64 (249.11-0ubuntu3.6) ...
Setting up dbus-user-session (1.12.20-2ubuntu4.1) ...
Setting up docker-ce-rootless-extras (5:20.10.21~3-0~ubuntu-jammy) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for sgml-base (1.30) ...
Processing triggers for libc-bin (2.35-0ubuntu3) ...
/sbin/ldconfig.real: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic linkScanning processes...
Scanning processor microcode...
Scanning linux images...Failed to retrieve available kernel versions.Failed to check for processor microcode upgrades.No services need to be restarted.No containers need to be restarted.No user sessions are running outdated binaries.No VM guests are running outdated hypervisor (qemu) binaries on this host.
➜  build git:(master) ✗

【WSL2】ubuntu22.04 安装docker相关推荐

  1. [笔记] Ubuntu 18.04安装Docker CE及nvidia-docker2流程

    这篇已经Out了,以[笔记] Ubuntu 18.04安装Docker CE及NVIDIA Container Toolkit流程为准. Docker的好处之一,就是在Container里面可以随意瞎 ...

  2. 了解Docker、Ubuntu20.04安装docker教程

    Docker 的前世今生 https://my.oschina.net/u/4126211/blog/4517028 Ubuntu20.04安装docker教程 https://blog.csdn.n ...

  3. Ubuntu22.04安装惠普P1108打印机并在局域网内共享

    Ubuntu22.04安装惠普P1108打印机 注:前期安装了smbsa用于文件共享. 一.安装打印机 1.1 版本 端口:USB 打印机型号:HP_LaserJet_Professional_P11 ...

  4. Ubuntu 系列学习(五)ubuntu22.04安装flameshot火焰截图(图文)

    文章目录 ubuntu22.04安装flameshot v11(火焰截图) 1 火焰截图flameshot安装 1.1 方法一 克隆项目编译安装 1.2 方法二 .deb包安装 1.3 添加依赖时的报 ...

  5. Ubuntu22.04 安装禅道

    Ubuntu22.04 安装禅道 Ubuntu22.04 在线安装 LAMP Ubuntu22.04 在线安装 MySQL8 MySQL APT存储库的下载页面 wget https://repo.m ...

  6. Ubuntu 18.04安装Docker Dashboard

    Ubuntu 18.04安装Docker Dashboard Set up the repository 更新apt包 sudo apt-get updatesudo apt-get install ...

  7. Ubuntu22.04安装与配置记录

    Ubuntu22.04安装与配置记录 原文地址:Ubuntu22.04安装与配置记录 2022年4月21日,ubuntu发布了22.04版本,该版本是一个LTS长期支持版本,技术支持5年,22.04版 ...

  8. Ubuntu22.04安装VMware16[解决各种安装问题]

    Ubuntu22.04安装VMware[快速解决各种安装问题] 0. 前言 1. 下载安装包 2. 安装依赖 2.1 安装gcc 2.2 安装make 2.3 安装lib 2.4 安装git 2.5 ...

  9. docker版本包 乌班图_Ubuntu20.04安装docker

    参考连接:https://ywnz.com/linuxjc/3949.html 1.查看ubuntu版本 cat /etc/lsb-release 2.卸载可能存在的旧版本docker sudo ap ...

最新文章

  1. JDBC连接失败java.sql.SQLException: ...ClassCastException: BigInteger cannot be cast to Long
  2. java 替换 rn_RN热更新之Android篇
  3. JavaScript总结(四)
  4. 子div用了float浮动之后,如何撑开父元素,让父元素div自动适应高度的问题
  5. ContentLoadingProgressBar不显示问题
  6. IOS 项目的瘦身工具
  7. UOS开启开发者模式
  8. 网络框架分析-全是套路
  9. julia Pkg.add() 安装package时卡着不动慢怎么办
  10. 帆软客户画像分析与客户价值模型
  11. 串口通讯调试-串口调试助手
  12. java 接收 gprs通信_java 接收GPRS数据
  13. 盛年不重来、一日难再晨
  14. 华为薪资等级结构表_2019年华为新员工薪酬 华为薪酬等级工资表
  15. SAST、DAST、IAST几种测试工具的比较
  16. day68 Django--中间件
  17. 【转载】Jupyter Lab中的plot.ly离线模式不显示图
  18. Flash的SLC、MLC和TLC三者区别
  19. win10下从源码运行Cura——环境配置(二次开发准备工作)
  20. 2021-05-23unity【组件的Enable / Disable】(组件的启用/禁用)-(即可控制组件显示/隐藏)

热门文章

  1. MATLAB 设置坐标轴的字体为斜体
  2. python常用library
  3. 新款戴尔取消开盖自动开机办法,以戴尔7591为例子如下
  4. 自动白平衡(AWB)算法---1,色温曲线
  5. CAD能打开PDF格式吗?这样做可以快速实现
  6. 购买虚拟服务器费用入什么科目,购买的云服务器费用入什么科目
  7. ios禁止屏幕旋转的几种方法
  8. 浅看Redis内存回收
  9. HTML图像和超链接及文字颜色与排版
  10. Altium Designer——常见贴片钽电容封装尺寸及特性