This gist seems to be not working anymore
Possible alternative solution https://unix.stackexchange.com/a/508728 ( not tested )
$> deb http://ftp.debian.org/debian jessie-backports main
-bash: deb: command not found
Open sources.list with sudo ( if available )
$> nano /etc/apt/sources.list
Paste the deb command in the end of file
deb http://ftp.debian.org/debian jessie-backports main
And them run
$> sudo apt-get update
This doesn't work for
docker run -ti ubuntu
. I get the following error message after addingdeb http://ftp.debian.org/debian jessie-backports main
to my sources.list file and issuingapt-get update
as root: