基于https://hub.docker.com/r/tchabaud/amule/改造,减少镜像大小
10K+
Create needed directories with
mkdir -p ./amule/conf
mkdir -p ./amule/tmp
mkdir -p ./amule/incoming
Just run the container with the following command lines (replace brackets with the values you want to use) :
If you don't have any existing amule configuration, you can specify a custom password for GUI and / or WebUI using adequate environment variables.
docker run -p 4712:4712 -p 4662:4662 -p 4672:4672/udp \
-e PUID=[wanted_uid] -e PGID=[wanted_gid] \
-e GUI_PWD=[wanted_password_for_gui] \
-v ./amule/conf:/home/amule/.aMule -v ./amule/incoming:/incoming -v ./amule/tmp:/temp tchabaud/amule
docker run -p 4711:4711 -p 4662:4662 -p 4672:4672/udp \
-e PUID=[wanted_uid] -e PGID=[wanted_gid] \
-e WEBUI_PWD=[wanted_password_for_web_interface] \
-v ./amule/conf:/home/amule/.aMule -v ./amule/incoming:/incoming -v ./amule/tmp:/temp tchabaud/amule
Just mount existing directory as a volume :
docker run -p 4711:4711 -p 4662:4662 -p 4672:4672/udp \
-e PUID=[wanted_uid] -e PGID=[wanted_gid] \
-v ~/.aMule:/home/amule/.aMule -v ~/.aMule/Incoming:/incoming -v ~/.aMule/Temp:/temp tchabaud/amule
Then point your browser to http://localhost:4711
Content type
Image
Digest
Size
30.3 MB
Last updated
almost 8 years ago
docker pull zhoutaomtv/amule