From 431a94f123055854d24a72c6f8dc548d76890adc Mon Sep 17 00:00:00 2001 From: haschwalth00B Date: Sat, 31 Jan 2026 12:44:16 +0530 Subject: [PATCH 1/3] Added Dockerfile --- Dockerfile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..fff95da --- /dev/null +++ b/Dockerfile @@ -0,0 +1,27 @@ +FROM ubuntu:22.04 + +ENV DEBIAN_FRONTEND=noninteractive + +RUN apt-get update && apt-get install -y \ + build-essential \ + make \ + libncurses-dev \ + sudo \ + udev \ + util-linux \ + usbutils \ + adb \ + nvme-cli \ + + hdparm \ + bash \ + && rm -rf /var/lib/apt/lists/* + +WORKDIR /securewipe +COPY . . + +# Build sentinel directly +RUN make + +CMD ["./bin/sentinel"] + From bb8e5a347db543ab5834c715425f48905281a3b3 Mon Sep 17 00:00:00 2001 From: Srivatsa <139664261+Haschwalth00B@users.noreply.github.com> Date: Sat, 31 Jan 2026 13:10:28 +0530 Subject: [PATCH 2/3] Document Docker container support for SecureWipe Added Docker container support documentation for SecureWipe, including prerequisites, image building methods, and usage instructions. --- README.md | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/README.md b/README.md index eeb5ca2..40c0afd 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,62 @@ securewipe Follow the interface to securely wipe supported devices. +--- + +# Docker Container Support + +A Docker container has been created to run SecureWipe in an isolated environment. + +> **⚠️ WARNING:** The Docker container implementation is currently under development. While USB devices are detected, it is identified as local disks inside the container and the wiping functionality on it is not yet operational. This Docker setup is intended for testing and development purposes only. For production use and to actually wipe USB devices, please run SecureWipe directly on your host system outside of Docker. + +## Prerequisites + +* Docker installed on your system. +* USB device connected (will be detected but not wiped). + +## Building the Docker Image + +You can either build the image locally or pull it directly from Docker Hub. + +### Method 1: Pull from Docker Hub + +The easiest way to get started is to pull the pre-built image: + +```bash +docker pull haschwalth00b/securewipe:latest +``` + +Then run the container: + +```bash +docker run --rm -it --privileged -v /dev:/dev -v /run/udev:/run/udev securewipe +``` + +### Method 2: Build Locally + +1. Clone this repository: + +```bash +git clone https://github.com/pointblank-club/SecureWipe.git +cd SecureWipe +``` + +2. Build the Docker image: + +```bash +docker build -t securewipe:latest . +``` + +3. Run the container: + +```bash +docker run --rm -it --privileged -v /dev:/dev -v /run/udev:/run/udev securewipe +``` + +**Note:** The `--privileged` flag, `/dev` volume mount, and `/run/udev` volume mount allow the container to detect and interact with USB devices as local disks. + +--- + ### For Android devices: - Enable USB Debugging in Developer Options before connecting. From 53a6e0c9ced02acc4e675a8510c61de9366ecbc0 Mon Sep 17 00:00:00 2001 From: Srivatsa <139664261+Haschwalth00B@users.noreply.github.com> Date: Sat, 31 Jan 2026 13:13:31 +0530 Subject: [PATCH 3/3] Revise Docker container support section in README Updated Docker section with new headings and streamlined instructions. --- README.md | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 40c0afd..92cb295 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ - # SecureWipe: Cross-Platform Secure Data Wiping Solution [![C++](https://img.shields.io/badge/C%2B%2B-20-blue.svg)](https://isocpp.org/) @@ -121,36 +120,27 @@ Follow the interface to securely wipe supported devices. --- -# Docker Container Support - -A Docker container has been created to run SecureWipe in an isolated environment. +### For Docker Users > **⚠️ WARNING:** The Docker container implementation is currently under development. While USB devices are detected, it is identified as local disks inside the container and the wiping functionality on it is not yet operational. This Docker setup is intended for testing and development purposes only. For production use and to actually wipe USB devices, please run SecureWipe directly on your host system outside of Docker. -## Prerequisites - -* Docker installed on your system. -* USB device connected (will be detected but not wiped). - -## Building the Docker Image +#### Option 1 — Pull from Docker Hub -You can either build the image locally or pull it directly from Docker Hub. - -### Method 1: Pull from Docker Hub - -The easiest way to get started is to pull the pre-built image: +1. Pull the pre-built image: ```bash docker pull haschwalth00b/securewipe:latest ``` -Then run the container: +2. Run the container: ```bash docker run --rm -it --privileged -v /dev:/dev -v /run/udev:/run/udev securewipe ``` -### Method 2: Build Locally +--- + +#### Option 2 — Build Locally 1. Clone this repository: