Running AriaNg Browser Based Download Utility in Docker on Ubuntu Server 🌱

Installing Docker

  1. Log into the Linux based device
  2. Run the following commands in the terminal
    # install prerequisites
    sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y
    # add docker gpg key
    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
    # add docker software repository
    sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
    # install docker
    sudo apt install docker-ce docker-compose containerd.io -y
    # enable and start docker service
    sudo systemctl enable docker && sudo systemctl start docker
    # add the current user to the docker group
    sudo usermod -aG docker $USER
    # reauthenticate for the new group membership to take effect
    su - $USER

Running AriaNg

  1. Now that Docker is installed, run the following commands to setup the AriaNg Docker container and run it
    # create working directory
    mkdir ~/docker/ariang/data -p
    # run the ariang docker container
    docker run -d --name ariang -p 8002:80 -p 6800:6800 -e PUID=1000 -e PGID=1000 -e ENABLE_AUTH=false -e RPC_SECRET=SomethingSecure -e ARIA2_SSL=false -e ARIA2_EXTERNAL_PORT=6800 -v ~/docker/ariang/data:/data --restart unless-stopped wahyd4/aria2-ui
  2. Once the AriaNg container is downloaded and running, open a web browser and navigate to http://DNSorIP:8002/ui
  3. Welcome to AriaNg running in a Docker container

Documentation: https://github.com/wahyd4/aria2-ariang-docker