Skip to content

Instantly share code, notes, and snippets.

@santaklouse
Last active October 8, 2025 18:04
Show Gist options
  • Save santaklouse/deab28d5279b956a035bd535c7e75c46 to your computer and use it in GitHub Desktop.
Save santaklouse/deab28d5279b956a035bd535c7e75c46 to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo docker volume create --name vproxy-data; #create data volume
sudo docker rm -f vproxy; #remove any previous container
#Start the container as daemon
sudo docker run -d \
--name vproxy \
--network host \
--restart=always \
-v vproxy-data:/app/data/:rw \
-v vproxy-data:/etc/letsencrypt:rw \
-v vproxy-data:/var/lib/letsencrypt:rw \
--cap-add net_bind_service \
vproxy/server:latest
sudo docker logs -f vproxy; #Watch the logs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment