#!/bin/bash
# Kill docker session first
docker stop "outlinep-1" 2> /dev/null || true
docker rm -f "outlinep-1" 2> /dev/null || true

docker run --name outlinep-1 --network proxy-net-1 --ip 172.40.0.2 -dit --cap-add=NET_ADMIN --device /dev/net/tun -p 32000:32000 -p 12000:12000 --cap-add=NET_ADMIN --cap-add=NET_RAW --device=/dev/net/tun -v /opt/outline:/opt/outline outline-proxy-buliding:latest

#docker run -dit  --name outlinep-1 -v /opt/outline:/opt/outline ubuntu:20.04 
