Docker running image based on Debian Buster (10) and with listusb-pkg.
If installing on Linux, it is recommended to check the post-installation steps
docker build --tag listusb .
docker run -d --name listusb listusb
docker exec -ti listusb /bin/bash
At this point you are inside the docker bash and the following commands are to be executed there.
cat /home/output.txt
The command is automatically executed when the docker starts, but it is
also possible to execute to double check the output.
listusb
Leave the container and return to the host with.
exit
docker stop listusb
Remove docker container
docker rm listusb
Remove docker image
docker rmi listusb
If needed, clear all the images and containers in the system
docker system prune