ProxCP Daemon w/ Docker
From ProxCP Documentation
ProxCP Daemon v1.5 or higher now supports Docker. Docker allows ProxCP Daemon to run in its own container independent of other software. This makes management and updating very simple.
Steps
- Install docker engine on the host server (how?)
- Once completed, pull the ProxCP Daemon image with
docker pull proxcp/proxcp-daemon-v15-nodev12
- Confirm you see the new image with
docker images
- Start a new docker container from the ProxCP Daemon image
docker run --name daemon -p 80:80 -p 8000:8000 -d proxcp/proxcp-daemon-v15-nodev12
- You should now see a running container
docker ps
- Enter the container
docker exec -it daemon /bin/bash
- You are now dropped into the container as root in /etc/proxcp. From here, run
./proxcp-daemon
to complete initial ProxCP Daemon configuration - After setup, kill the Daemon with ^C (Ctrl-C) and make it persistent with
forever start -a -l forever.log -e err.log -c /bin/bash RUN.sh