Skip to content

aguslr/docker-httrack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-pulls image-size

This Docker image sets up HTTrack inside a docker container.

HTTrack is a free (GPL, libre/free software) and easy-to-use offline browser utility.

Installation

To use docker-httrack, follow these steps:

  1. Clone and start the container:

    docker run -p 8080:8080 \
      -e DATA=/data \
      -v "${PWD}"/data:/data \
      docker.io/aguslr/httrack:latest
    
  2. Configure your Web browser to connect to HTTrack's web interface with http://localhost:8080

Variables

The image is configured using environment variables passed at runtime:

Variable Function Default Required
DATA Path for mirror/logfiles+cache /var/www/websites N
PORT Port for the server to listen on 8080 N

Build locally

Instead of pulling the image from a remote repository, you can build it locally:

  1. Clone the repository:

    git clone https://github.com/aguslr/docker-httrack.git
    
  2. Change into the newly created directory and use docker-compose to build and launch the container:

    cd docker-httrack && docker-compose up --build -d
    

About

Set up WebHTTrack to mirror websites for offline browsing

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Contributors