outline-server icon indicating copy to clipboard operation
outline-server copied to clipboard

feat(server): add server manager install script to support rootless docker

Open Friend-LGA opened this issue 2 years ago • 1 comments

Right now default install flow is using this script

sudo bash -c "$(wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh)"

This one doesn't work with Rootless Docker because of 2 reasons:

  • --net host flag
  • usage of watchtower

This PR adds new script install_server_rootless.sh which maps docker ports directly using -p flag and removes usage of watchtower.

Works with Rootless Docker (tested).

Example usage

bash -c "SHADOWBOX_DIR=$HOME/outline-data $(wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server_rootless.sh)"

Notice no sudo is here and custom shadowbox dir.

Friend-LGA avatar Feb 18 '23 09:02 Friend-LGA

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Feb 18 '23 09:02 google-cla[bot]