dtach

emulates the detach/attach feature of screen

Debian Debian
RUN apt-get update && \ apt-get install -y dtach
Ubuntu
RUN apt-get update && \ apt-get install -y dtach
Alpine
RUN apk add dtach
Arch Arch Linux
RUN pacman -S --noconfirm dtach
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y dtach
CentOS
RUN yum install -y dtach
Fedora
RUN dnf install -y dtach
Raspbian
RUN apt-get update && \ apt-get install -y dtach
click the source code to copy install dtach on any operating system with command-not-found.com