linux/amd64
linux/386
linux/arm64
linux/arm
Replace /DOWNLOAD_DIR
YOUR_CLIENT_KEY
YOUR_PORT
with yours.
"$Client ID"-"$Client Key"
like this: 000000-ABCDEFGHIJKLMN1234OP
https://ehwiki.org/wiki/Technical_Issues#Ports
#Pull image
sudo docker pull disappear9/hentaiathome
#Create volume for caches and logs
sudo docker volume create h_at_h_data
#Run it
sudo docker run -d --name h_at_h -p YOUR_PORT:YOUR_PORT -v h_at_h_data:/hath/data -v /DOWNLOAD_DIR:/hath/download -e HatH_KEY=YOUR_CLIENT_KEY disappear9/hentaiathome
#Stop
sudo docker stop h_at_h
#Delete
sudo docker rm h_at_h
#Delete old image
sudo docker rmi disappear9/hentaiathome
#Pull new image
sudo docker pull disappear9/hentaiathome
#Run it
sudo docker run -d --name h_at_h -p YOUR_PORT:YOUR_PORT -v h_at_h_data:/hath/data -v /DOWNLOAD_DIR:/hath/download disappear9/hentaiathome
Or
sudo docker run -d --name h_at_h --net host -v h_at_h_data:/hath/data -v /DOWNLOAD_DIR:/hath/download disappear9/hentaiathome
If you want to change port in the future.
Add this to Template repositories
: https://github.com/Disappear9/dockerfile-other
(Container Port) and (Host Port) should be identical,
or you could just switch to (Advanced View), and set (Network Type) to (Host).
2020/10/06 Graceful shutdown
2021/06/09 DockerHUB has stopped free plan from using Autobuild feature, until i found other ways to update image, there will not have any update.
2021/07/01 Now using Github action to build image.