project25/nwipe
This is a containerized version of the nwipe application which makes up the secure disk erasure tool in ShredOS and can be sourced from this repo: https://github.com/martijnvanbrummelen/nwipe
It does the exact same thing but in a container and in my opinion is a little more flexible as it is built on a smaller Alpine based container. This container build got started all from me having to go through a bunch of hard drives using ShredOS and I wasn't fond of how I had to reboot every time I put new drives in the drive caddy because ShredOS doesn't give an option to rescan devices. More of an annoyance since I was booting that machine via PXE so I though well if I could just build/install and then save it to an apkovl in Alpine I can easily adapt my existing Alpine netboot options. Well I started playing with it in Docker for giggles and grins and what do you know...it works just as well running in a container via docker.
This is a pretty straightforward container image. You just need to pass your devices through in your run command. One of the major pluses to this is nwipe will only have access to the drives that are actually being passed through...so if you don't pass through your boot disk...you can't accidentally erase it on yourself.
And example of how to run this application might be:
docker run --rm -it --device /dev/sda:/dev/sda --device /dev/sdb:/dev/sdb --device /dev/sdX:/dev/sdX project25/nwipe:0.36
At the movement I do not have this set to save the pdfs to disk. If you would like to do that, they should just be getting dumped in /tmp so adding -v nwipe:/tmp
may get you those records pass over to your host machine. I'll play with it and correct it at some point (that will be a version 1.x tag most likely to as nwipe is currently in a 0.x release).
docker pull project25/nwipe