apt install screen on ubport and apt can't run.
But when I try
pip3 install somepackage on the Ubport, It goes right and the python package installed. Both of them will be successfully installed inside the container. Why is that? Does apt use a different space from pip on the Ubport ?
Is anyother way to meet the need?
Add a switch to turn off/on the screen backlight instead of locking the screen to keep the container running?
Add a tunnel so that the openssh server inside the container may be connect though a user-defined port other than port22 of the original Ubport. Like the Google Docker command
docker run -d -p 127.0.0.1:5001:5000 training/webapp bash. Thus we can get an access like this: Desktop PC Terminal->port xx tunnel inside the container->container
screencommand or reconnect to a running screen.
Make a command like the Google Docker. Like
ctrl+p+qto jump outside and keep container running and
docker attach d48b21a7e439to reconnect to a running container.