Ubuntu 14.04 installation troubles

I was wondering if someone could help me with an installation issue for Docker on Ubuntu 14.04. Following the instructions on Docker docs, I received the following error with sudo apt-get update:

Failed to fetch https://download.docker.com/linux/debian/dists/jessie/stable/binary-amd64/Packages gnutls_handshake() failed: A TLS packet with unexpected length was received.

I configured /etc/apt/sources.list.d/docker.list with deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] Index of linux/debian/ jessie stable as the command in the docker docs to set up the repository failed on the system I was using.

Does anyone know how to properly configure the repository listing to allow docker installation on this system? I am constrained to using Ubuntu 14.04. Thank you.

Michael

Ubuntu 18.04 is the oldest supported Ubuntu and I wouldn’t try to install from a Debian repository on Ubuntu. If you have enough resources, you can try to run a virtual machine and install Docker in it on a newer Ubuntu or just use LXC which is what Docker was based on at the beginning.

https://www.dell.com/support/kbdoc/hu-hu/000148669/lxc-containers-in-ubuntu-server-14-04-lts