listusb-docker

Docker running image based on Debian Buster (10) and with listusb-pkg.

Requirements

If installing on Linux, it is recommended to check the post-installation steps

Build

docker build --tag listusb .

Run

docker run -d --name listusb listusb

Access running docker instance

docker exec -ti listusb /bin/bash

At this point you are inside the docker bash and the following commands are to be executed there.

Check created listusb output file

cat /home/output.txt

Run listusb

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

Leave the container and return to the host with. exit

Stop

docker stop listusb

Remove

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