mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-10-25 14:00:56 +00:00
Update error message with docker group instructions
This commit is contained in:
parent
29e63b1d9a
commit
4da1765b95
1 changed files with 4 additions and 2 deletions
|
|
@ -81,14 +81,16 @@ function log_for_sentry() {
|
|||
# Check to see if docker is installed.
|
||||
function verify_docker_installed() {
|
||||
if ! command_exists docker; then
|
||||
log_error "Docker CE must be installed, please run \"curl -sS https://get.docker.com/ | sh\" or visit https://docs.docker.com/install/"
|
||||
log_error "\
|
||||
Docker CE must be installed, please run \"curl -sS https://get.docker.com/ | sh\" or visit https://docs.docker.com/install/
|
||||
After installing Docker you will need to add your user to the docker group, for example by running \"sudo usermod -a -G docker \$USER && newgrp docker\""
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
function verify_docker_running() {
|
||||
if ! docker info > /dev/null 2>&1 ; then
|
||||
log_error "dockerd is not running."
|
||||
log_error "dockerd is not running. You may need to add your user to the docker group, for example by running \"sudo usermod -a -G docker \$USER && newgrp docker\""
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue