diff --git a/docs/_community/resources.md b/docs/_community/resources.md index e71eba03..839f8692 100644 --- a/docs/_community/resources.md +++ b/docs/_community/resources.md @@ -1,5 +1,5 @@ --- -title: Resource +title: Resources nav_order: 1 toc: true layout: page diff --git a/docs/page/installation.md b/docs/page/installation.md index 0f8f2214..53ad020a 100644 --- a/docs/page/installation.md +++ b/docs/page/installation.md @@ -57,20 +57,33 @@ Dalfox provides Docker images by version. This method allows you to use Dalfox w ### Pull the Latest Docker Image To pull the latest Docker image of Dalfox, run: ```bash +# docker hub docker pull hahwul/dalfox:latest + +# ghcr +docker pull ghcr.io/hahwul/dalfox:latest ``` ### Run Dalfox Using Docker You can run Dalfox using Docker with the following command: ```bash +# docker hub docker run -it hahwul/dalfox:latest /app/dalfox url https://www.hahwul.com + +# ghcr +docker run -it ghcr.io/hahwul/dalfox:latest /app/dalfox url https://www.hahwul.com ``` ### Interactive Docker Shell For an interactive shell within the Docker container, run: ```bash +# docker hub docker run -it hahwul/dalfox:latest /bin/bash + +# ghcr +docker run -it ghcr.io/hahwul/dalfox:latest /bin/bash ``` + Once inside the container, you can run Dalfox: ```bash ./dalfox diff --git a/docs/page/update.md b/docs/page/update.md index a6b26e86..c9ba0b66 100644 --- a/docs/page/update.md +++ b/docs/page/update.md @@ -36,14 +36,23 @@ This command will install the latest version of Dalfox from the source. ## Using Docker If you are using Dalfox with Docker, you can update it by pulling the latest Docker image: ```bash +# dockerhub docker pull hahwul/dalfox:latest + +# ghcr +docker pull ghcr.io/hahwul/dalfox:latest ``` This command will download the latest Dalfox Docker image. ### Running the Updated Docker Image After pulling the latest image, you can run Dalfox using the updated Docker image: + ```bash +# docker hub docker run -it hahwul/dalfox:latest /app/dalfox url https://www.hahwul.com + +# ghcr +docker run -it ghcr.io/hahwul/dalfox:latest /app/dalfox url https://www.hahwul.com ``` ## Additional Resources