1 Manually build the image.
3 NAME="remote-installer"
8 --build-arg HTTP_PROXY="${http_proxy}" \
9 --build-arg HTTPS_PROXY="${https_proxy}" \
10 --build-arg NO_PROXY="${no_proxy}" \
11 --build-arg http_proxy="${http_proxy}" \
12 --build-arg https_proxy="${https_proxy}" \
13 --build-arg no_proxy="${no_proxy}" \
14 --tag remote-installer \
15 --file docker-build/remote-installer/Dockerfile .
17 Run the image with root passwd root (default), mount the starter's $HOME/tmp to /mnt and exports it!!! Webserver is available at port 8080.
19 NAME="remote-installer"
20 docker run --detach --rm -e PW='root' --volume $HOME/tmp/:/opt/remoteinstaller --publish 443:443 -p 2049:2049 -p 15101:15101 --privileged $EXTRA --name "$NAME" "$NAME"
22 docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $NAME
24 # configuration options
25 # HOST_ADDR - Mandatory parameter with the external IP of the host, which runs the docker
26 # Usually the domain controller.
28 # API_PORT - IPv4 port used by the remote installer API.
31 # Sometimes it is a good idea to remove unsued images
32 docker image rm $(docker image ls |grep none |awk -F ' ' '{print $3}')