mithraone
(Mithraone)
March 14, 2023, 4:52pm
1
I trying to install Docker on my server
I was try install on new system via
$ curl -sSL https://get.docker.com | sh
$ sudo usermod -aG docker $(whoami)
I was try this tutorial after adding non-root user
Result is the same: after logout i can’t ssh connect to server and get kex_exchange_identification: read: Connection reset by peer
how to fix it?
rimelek
(Ákos Takács)
March 14, 2023, 9:33pm
2
Please, share more details about the host operating system where you installed Docker. Using that installer script is usually not recommended and not needed.
Choose the best method for you to install Docker Engine. This client-server application is available on Linux, Mac, Windows, and as a static binary.
The tutorial you used is for Ubuntu which you can find in the documentation
Docker would normally not break your SSH connection unless something goes wrong during the installation and you have an incomplete installation with wrong iptables rules
mithraone
(Mithraone)
March 16, 2023, 5:55pm
3
i’m using ubuntu 22.04, so i was try this tutorial and result is the same
root@catofday:~# sudo apt-get update
Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:2 http://archive.canonical.com/ubuntu jammy InRelease [11.4 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
Ign:4 https://repo.virtuozzo.com/ctpreset/deb InRelease
Get:5 https://repo.virtuozzo.com/ctpreset/deb Release [565 B]
Ign:6 https://repo.virtuozzo.com/ctpreset/deb Release.gpg
Ign:7 https://repo.virtuozzo.com/ctpreset/deb Packages
Ign:8 https://repo.virtuozzo.com/ctpreset/deb Translation-en
Ign:7 https://repo.virtuozzo.com/ctpreset/deb Packages
Ign:8 https://repo.virtuozzo.com/ctpreset/deb Translation-en
Get:9 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Ign:7 https://repo.virtuozzo.com/ctpreset/deb Packages
Ign:8 https://repo.virtuozzo.com/ctpreset/deb Translation-en
Get:7 https://repo.virtuozzo.com/ctpreset/deb Packages [414 B]
Get:10 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [692 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1395 kB]
Err:8 https://repo.virtuozzo.com/ctpreset/deb Translation-en
404 Not Found [IP: 192.229.221.239 443]
Err:8 https://repo.virtuozzo.com/ctpreset/deb Translation-en
404 Not Found [IP: 192.229.221.239 443]
Err:8 https://repo.virtuozzo.com/ctpreset/deb Translation-en
404 Not Found [IP: 192.229.221.239 443]
Ign:8 https://repo.virtuozzo.com/ctpreset/deb Translation-en
Get:12 http://security.ubuntu.com/ubuntu jammy-security/main Translation-en [142 kB]
Get:13 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [642 kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy/main Translation-en [510 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [129 kB]
Get:16 http://archive.ubuntu.com/ubuntu jammy/restricted Translation-en [18.6 kB]
Get:17 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [14.1 MB]
Get:18 http://security.ubuntu.com/ubuntu jammy-security/restricted Translation-en [100 kB]
Get:19 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [710 kB]
Get:20 http://security.ubuntu.com/ubuntu jammy-security/universe Translation-en [115 kB]
Get:21 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [19.4 kB]
Get:22 http://security.ubuntu.com/ubuntu jammy-security/multiverse Translation-en [4068 B]
Get:23 http://archive.ubuntu.com/ubuntu jammy/universe Translation-en [5652 kB]
Get:24 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [948 kB]
Get:25 http://archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [205 kB]
Get:26 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [684 kB]
Get:27 http://archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [107 kB]
Get:28 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [890 kB]
Get:29 http://archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [177 kB]
Fetched 27.7 MB in 4s (6794 kB/s)
Reading package lists... Done
root@catofday:~# sudo apt-get remove docker docker-engine docker.io containerd runc
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package docker-engine
root@catofday:~# sudo apt-get update
Hit:1 http://archive.canonical.com/ubuntu jammy InRelease
Ign:2 https://repo.virtuozzo.com/ctpreset/deb InRelease
Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:4 https://repo.virtuozzo.com/ctpreset/deb Release
Hit:5 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:6 https://repo.virtuozzo.com/ctpreset/deb Release.gpg
Hit:7 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Err:8 https://repo.virtuozzo.com/ctpreset/deb Translation-en
404 Not Found [IP: 192.229.221.239 443]
Err:8 https://repo.virtuozzo.com/ctpreset/deb Translation-en
404 Not Found [IP: 192.229.221.239 443]
Err:8 https://repo.virtuozzo.com/ctpreset/deb Translation-en
404 Not Found [IP: 192.229.221.239 443]
Err:8 https://repo.virtuozzo.com/ctpreset/deb Translation-en
404 Not Found [IP: 192.229.221.239 443]
Err:8 https://repo.virtuozzo.com/ctpreset/deb Translation-en
404 Not Found [IP: 192.229.221.239 443]
Err:8 https://repo.virtuozzo.com/ctpreset/deb Translation-en
404 Not Found [IP: 192.229.221.239 443]
Ign:8 https://repo.virtuozzo.com/ctpreset/deb Translation-en
Reading package lists... Done
root@catofday:~# sudo apt-get install \
ca-certificates \
curl \
gnupg \
lsb-release
Reading package lists... Done
Building dependency tree... Done
lsb-release is already the newest version (11.1.0ubuntu4).
ca-certificates is already the newest version (20211016ubuntu0.22.04.1).
gnupg is already the newest version (2.2.27-3ubuntu2.1).
The following additional packages will be installed:
libcurl4
The following NEW packages will be installed:
curl
The following packages will be upgraded:
libcurl4
1 upgraded, 1 newly installed, 0 to remove and 47 not upgraded.
Need to get 484 kB of archives.
After this operation, 455 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libcurl4 amd64 7.81.0-1ubuntu1.8 [290 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 curl amd64 7.81.0-1ubuntu1.8 [194 kB]
Fetched 484 kB in 1s (728 kB/s)
(Reading database ... 26995 files and directories currently installed.)
Preparing to unpack .../libcurl4_7.81.0-1ubuntu1.8_amd64.deb ...
Unpacking libcurl4:amd64 (7.81.0-1ubuntu1.8) over (7.81.0-1ubuntu1.7) ...
Selecting previously unselected package curl.
Preparing to unpack .../curl_7.81.0-1ubuntu1.8_amd64.deb ...
Unpacking curl (7.81.0-1ubuntu1.8) ...
Setting up libcurl4:amd64 (7.81.0-1ubuntu1.8) ...
Setting up curl (7.81.0-1ubuntu1.8) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
root@catofday:~# sudo mkdir -m 0755 -p /etc/apt/keyrings
root@catofday:~# curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
root@catofday:~# echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
root@catofday:~# sudo apt-get update
Get:1 https://download.docker.com/linux/ubuntu jammy InRelease [48.9 kB]
Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:3 http://archive.canonical.com/ubuntu jammy InRelease
Ign:4 https://repo.virtuozzo.com/ctpreset/deb InRelease
Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:6 https://repo.virtuozzo.com/ctpreset/deb Release
Ign:7 https://repo.virtuozzo.com/ctpreset/deb Release.gpg
Hit:8 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Err:9 https://repo.virtuozzo.com/ctpreset/deb Translation-en
404 Not Found [IP: 192.229.221.239 443]
Err:9 https://repo.virtuozzo.com/ctpreset/deb Translation-en
404 Not Found [IP: 192.229.221.239 443]
Get:10 https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages [13.6 kB]
Err:9 https://repo.virtuozzo.com/ctpreset/deb Translation-en
404 Not Found [IP: 192.229.221.239 443]
Err:9 https://repo.virtuozzo.com/ctpreset/deb Translation-en
404 Not Found [IP: 192.229.221.239 443]
Err:9 https://repo.virtuozzo.com/ctpreset/deb Translation-en
404 Not Found [IP: 192.229.221.239 443]
Err:9 https://repo.virtuozzo.com/ctpreset/deb Translation-en
404 Not Found [IP: 192.229.221.239 443]
Ign:9 https://repo.virtuozzo.com/ctpreset/deb Translation-en
Fetched 62.5 kB in 1s (80.5 kB/s)
Reading package lists... Done
root@catofday:~# sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
apparmor dbus-user-session docker-ce-rootless-extras docker-scan-plugin git
git-man libcurl3-gnutls liberror-perl libglib2.0-0 libglib2.0-data
libpam-systemd libslirp0 libsystemd0 pigz shared-mime-info slirp4netns
systemd systemd-sysv xdg-user-dirs
Suggested packages:
apparmor-profiles-extra apparmor-utils aufs-tools cgroupfs-mount
| cgroup-lite git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui
gitk gitweb git-cvs git-mediawiki git-svn systemd-container
libtss2-esys-3.0.2-0 libtss2-mu0 libtss2-rc0 policykit-1
Recommended packages:
networkd-dispatcher systemd-timesyncd | time-daemon libnss-systemd
The following NEW packages will be installed:
apparmor containerd.io dbus-user-session docker-buildx-plugin docker-ce
docker-ce-cli docker-ce-rootless-extras docker-compose-plugin
docker-scan-plugin git git-man libcurl3-gnutls liberror-perl libglib2.0-0
libglib2.0-data libpam-systemd libslirp0 pigz shared-mime-info slirp4netns
xdg-user-dirs
The following packages will be upgraded:
libsystemd0 systemd systemd-sysv
3 upgraded, 21 newly installed, 0 to remove and 44 not upgraded.
Need to get 124 MB of archives.
After this operation, 434 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://download.docker.com/linux/ubuntu jammy/stable amd64 containerd.io amd64 1.6.18-1 [28.2 MB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 systemd-sysv amd64 249.11-0ubuntu3.7 [10.5 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 systemd amd64 249.11-0ubuntu3.7 [4580 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libsystemd0 amd64 249.11-0ubuntu3.7 [317 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy/universe amd64 pigz amd64 2.6-1 [63.6 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libglib2.0-0 amd64 2.72.4-0ubuntu1 [1461 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libglib2.0-data all 2.72.4-0ubuntu1 [4882 B]
Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpam-systemd amd64 249.11-0ubuntu3.7 [203 kB]
Get:9 http://archive.ubuntu.com/ubuntu jammy/main amd64 shared-mime-info amd64 2.1-2 [454 kB]
Get:10 http://archive.ubuntu.com/ubuntu jammy/main amd64 xdg-user-dirs amd64 0.17-2ubuntu4 [53.9 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 apparmor amd64 3.0.4-2ubuntu2.2 [595 kB]
Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 dbus-user-session amd64 1.12.20-2ubuntu4.1 [9442 B]
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libcurl3-gnutls amd64 7.81.0-1ubuntu1.8 [284 kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy/main amd64 liberror-perl all 0.17029-1 [26.5 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 git-man all 1:2.34.1-1ubuntu1.8 [953 kB]
Get:16 https://download.docker.com/linux/ubuntu jammy/stable amd64 docker-buildx-plugin amd64 0.10.2-1~ubuntu.22.04~jammy [25.9 MB]
Get:17 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 git amd64 1:2.34.1-1ubuntu1.8 [3141 kB]
Get:18 http://archive.ubuntu.com/ubuntu jammy/main amd64 libslirp0 amd64 4.6.1-1build1 [61.5 kB]
Get:19 http://archive.ubuntu.com/ubuntu jammy/universe amd64 slirp4netns amd64 1.0.1-2 [28.2 kB]
Get:20 https://download.docker.com/linux/ubuntu jammy/stable amd64 docker-ce-cli amd64 5:23.0.1-1~ubuntu.22.04~jammy [13.2 MB]
Get:21 https://download.docker.com/linux/ubuntu jammy/stable amd64 docker-ce amd64 5:23.0.1-1~ubuntu.22.04~jammy [22.0 MB]
Get:22 https://download.docker.com/linux/ubuntu jammy/stable amd64 docker-ce-rootless-extras amd64 5:23.0.1-1~ubuntu.22.04~jammy [8760 kB]
Get:23 https://download.docker.com/linux/ubuntu jammy/stable amd64 docker-compose-plugin amd64 2.16.0-1~ubuntu.22.04~jammy [10.2 MB]
Get:24 https://download.docker.com/linux/ubuntu jammy/stable amd64 docker-scan-plugin amd64 0.23.0~ubuntu-jammy [3623 kB]
Fetched 124 MB in 3s (44.3 MB/s)
Preconfiguring packages ...
(Reading database ... 27002 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_249.11-0ubuntu3.7_amd64.deb ...
Unpacking systemd-sysv (249.11-0ubuntu3.7) over (249.11-0ubuntu3.6) ...
Preparing to unpack .../systemd_249.11-0ubuntu3.7_amd64.deb ...
Unpacking systemd (249.11-0ubuntu3.7) over (249.11-0ubuntu3.6) ...
Preparing to unpack .../libsystemd0_249.11-0ubuntu3.7_amd64.deb ...
Unpacking libsystemd0:amd64 (249.11-0ubuntu3.7) over (249.11-0ubuntu3.6) ...
Setting up libsystemd0:amd64 (249.11-0ubuntu3.7) ...
Selecting previously unselected package pigz.
(Reading database ... 27002 files and directories currently installed.)
Preparing to unpack .../00-pigz_2.6-1_amd64.deb ...
Unpacking pigz (2.6-1) ...
Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack .../01-libglib2.0-0_2.72.4-0ubuntu1_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.72.4-0ubuntu1) ...
Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../02-libglib2.0-data_2.72.4-0ubuntu1_all.deb ...
Unpacking libglib2.0-data (2.72.4-0ubuntu1) ...
Selecting previously unselected package libpam-systemd:amd64.
Preparing to unpack .../03-libpam-systemd_249.11-0ubuntu3.7_amd64.deb ...
Unpacking libpam-systemd:amd64 (249.11-0ubuntu3.7) ...
Selecting previously unselected package shared-mime-info.
Preparing to unpack .../04-shared-mime-info_2.1-2_amd64.deb ...
Unpacking shared-mime-info (2.1-2) ...
Selecting previously unselected package xdg-user-dirs.
Preparing to unpack .../05-xdg-user-dirs_0.17-2ubuntu4_amd64.deb ...
Unpacking xdg-user-dirs (0.17-2ubuntu4) ...
Selecting previously unselected package apparmor.
Preparing to unpack .../06-apparmor_3.0.4-2ubuntu2.2_amd64.deb ...
Unpacking apparmor (3.0.4-2ubuntu2.2) ...
Selecting previously unselected package containerd.io.
Preparing to unpack .../07-containerd.io_1.6.18-1_amd64.deb ...
Unpacking containerd.io (1.6.18-1) ...
Selecting previously unselected package dbus-user-session.
Preparing to unpack .../08-dbus-user-session_1.12.20-2ubuntu4.1_amd64.deb ...
Unpacking dbus-user-session (1.12.20-2ubuntu4.1) ...
Selecting previously unselected package docker-buildx-plugin.
Preparing to unpack .../09-docker-buildx-plugin_0.10.2-1~ubuntu.22.04~jammy_amd64.deb ...
Unpacking docker-buildx-plugin (0.10.2-1~ubuntu.22.04~jammy) ...
Selecting previously unselected package docker-ce-cli.
Preparing to unpack .../10-docker-ce-cli_5%3a23.0.1-1~ubuntu.22.04~jammy_amd64.deb ...
Unpacking docker-ce-cli (5:23.0.1-1~ubuntu.22.04~jammy) ...
Selecting previously unselected package docker-ce.
Preparing to unpack .../11-docker-ce_5%3a23.0.1-1~ubuntu.22.04~jammy_amd64.deb ...
Unpacking docker-ce (5:23.0.1-1~ubuntu.22.04~jammy) ...
Selecting previously unselected package docker-ce-rootless-extras.
Preparing to unpack .../12-docker-ce-rootless-extras_5%3a23.0.1-1~ubuntu.22.04~jammy_amd64.deb ...
Unpacking docker-ce-rootless-extras (5:23.0.1-1~ubuntu.22.04~jammy) ...
Selecting previously unselected package docker-compose-plugin.
Preparing to unpack .../13-docker-compose-plugin_2.16.0-1~ubuntu.22.04~jammy_amd64.deb ...
Unpacking docker-compose-plugin (2.16.0-1~ubuntu.22.04~jammy) ...
Selecting previously unselected package docker-scan-plugin.
Preparing to unpack .../14-docker-scan-plugin_0.23.0~ubuntu-jammy_amd64.deb ...
Unpacking docker-scan-plugin (0.23.0~ubuntu-jammy) ...
Selecting previously unselected package libcurl3-gnutls:amd64.
Preparing to unpack .../15-libcurl3-gnutls_7.81.0-1ubuntu1.8_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.81.0-1ubuntu1.8) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../16-liberror-perl_0.17029-1_all.deb ...
Unpacking liberror-perl (0.17029-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../17-git-man_1%3a2.34.1-1ubuntu1.8_all.deb ...
Unpacking git-man (1:2.34.1-1ubuntu1.8) ...
Selecting previously unselected package git.
Preparing to unpack .../18-git_1%3a2.34.1-1ubuntu1.8_amd64.deb ...
Unpacking git (1:2.34.1-1ubuntu1.8) ...
Selecting previously unselected package libslirp0:amd64.
Preparing to unpack .../19-libslirp0_4.6.1-1build1_amd64.deb ...
Unpacking libslirp0:amd64 (4.6.1-1build1) ...
Selecting previously unselected package slirp4netns.
Preparing to unpack .../20-slirp4netns_1.0.1-2_amd64.deb ...
Unpacking slirp4netns (1.0.1-2) ...
Setting up xdg-user-dirs (0.17-2ubuntu4) ...
Setting up libglib2.0-0:amd64 (2.72.4-0ubuntu1) ...
No schema files found: doing nothing.
Setting up docker-scan-plugin (0.23.0~ubuntu-jammy) ...
Setting up libcurl3-gnutls:amd64 (7.81.0-1ubuntu1.8) ...
Setting up systemd (249.11-0ubuntu3.7) ...
Setting up liberror-perl (0.17029-1) ...
Setting up apparmor (3.0.4-2ubuntu2.2) ...
Created symlink /etc/systemd/system/sysinit.target.wants/apparmor.service → /lib/systemd/system/apparmor.service.
Setting up docker-buildx-plugin (0.10.2-1~ubuntu.22.04~jammy) ...
Setting up libglib2.0-data (2.72.4-0ubuntu1) ...
Setting up shared-mime-info (2.1-2) ...
Setting up containerd.io (1.6.18-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service → /lib/systemd/system/containerd.service.
Setting up docker-compose-plugin (2.16.0-1~ubuntu.22.04~jammy) ...
Setting up docker-ce-cli (5:23.0.1-1~ubuntu.22.04~jammy) ...
Setting up libslirp0:amd64 (4.6.1-1build1) ...
Setting up pigz (2.6-1) ...
Setting up git-man (1:2.34.1-1ubuntu1.8) ...
Setting up systemd-sysv (249.11-0ubuntu3.7) ...
Setting up slirp4netns (1.0.1-2) ...
Setting up docker-ce (5:23.0.1-1~ubuntu.22.04~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.
Setting up git (1:2.34.1-1ubuntu1.8) ...
Setting up libpam-systemd:amd64 (249.11-0ubuntu3.7) ...
Setting up dbus-user-session (1.12.20-2ubuntu4.1) ...
Setting up docker-ce-rootless-extras (5:23.0.1-1~ubuntu.22.04~jammy) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for dbus (1.12.20-2ubuntu4.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
root@catofday:~# sudo docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
2db29710123e: Pull complete
Digest: sha256:ffb13da98453e0f04d33a6eee5bb8e46ee50d08ebe17735fc0779d0349e889e9
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
(amd64)
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.
To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker ID:
https://hub.docker.com/
For more examples and ideas, visit:
https://docs.docker.com/get-started/
root@catofday:~# exit
logout
Connection to MY.SER.VER.IP closed.
mithra@AcerX:~$ ssh -o IdentitiesOnly=yes root@MY.SER.VER.IP
kex_exchange_identification: read: Connection reset by peer
mithraone
(Mithraone)
March 16, 2023, 6:06pm
4
Hmmmm on Ubuntu 20.04 i don’t face with this problem
rimelek
(Ákos Takács)
March 16, 2023, 8:11pm
5
I don’t know what could have happaned on Ubuntu 22.04. I have installed Docker on multiple Ubuntu 22.04 machines without that issue. Is there any differentce between how you installed the different Ubuntu versions? Have you tried a fresh install of both versions to see if you get the same error?