Setup Acunetix linux on ARM processor (via docker)

Krematorij

Administrator
Staff member
ADMIN
BFD MEMBER
LEGEND
ULTIMATE
SUPREME
MEMBER
BFD Legacy
Joined
Oct 22, 2024
Messages
1,121
Reaction score
16,250
Website
bfdcrew.pro
Deposit
1,002$
I will start by saying that this works, but it's kinda messy and can probably be optimized. It will be slower since it's basically running on an emulator. I use this on a free ARM VPS (thanks oracle)

Setup docker and docker compose
https://docs.docker.com/compose/install/

Install binfmt and add amd64 support
https://hub.docker.com/r/tonistiigi/binfmt

Make a new directory and put the docker-compose.yml there with content:
YAML:
Code:
version: '3'

volumes:
  home_dir:
  usr_dir:
  opt_dir:
  etc_dir:
  var_dir:

services:
  ubuntu:
    image: ubuntu
    platform: linux/amd64
    cap_add:
      - LINUX_IMMUTABLE
    ports:
      - 3443:3443
    volumes:
      - home_dir:/home
      - usr_dir:/usr
      - opt_dir:/opt
      - etc_dir:/etc
      - var_dir:/var
    command: su - acunetix -c /home/acunetix/.acunetix/start.sh
This doesn't have to be ubuntu. It is just easier to setup
The LINUX_IMMUTABLE capability ensures that chattr works
You could probably get away with mounting only home, usr and etc

Do not up it yet, we still have to properly setup acunetix

Access the container by running
Code:
sudo docker compose run ubuntu /bin/bash

Download and install acunetix by following setup from original post. Don't forget the dependencies. Also install sudo if it isn't installed or the script will fail
Ignore the /etc/hosts inside docker. Change the one on the host machine later instead.
Ignore the systemctl error complaining about system not being launched with PID 1. That's normal.

When done, exit the container

Finally, run with
Code:
sudo docker compose up [-d]
 
Top Bottom