mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-19 13:29:35 +00:00
Review comments
This commit is contained in:
@@ -32,7 +32,7 @@ Interact with your containers directly: pause, restart and stop containers. Laun
|
||||
```
|
||||
sudo wget -O /usr/local/bin/scope https://git.io/scope
|
||||
sudo chmod a+x /usr/local/bin/scope
|
||||
sudo scope launch
|
||||
scope launch
|
||||
```
|
||||
|
||||
This script will download and run a recent Scope image from the Docker Hub.
|
||||
|
||||
4
scope
4
scope
@@ -46,11 +46,10 @@ check_docker_access() {
|
||||
DOCKER_SOCK_FILE="$WITHOUT_PREFIX"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
if [ \( -n "$DOCKER_SOCK_FILE" \) -a \( ! -w "$DOCKER_SOCK_FILE" \) ]; then
|
||||
echo "ERROR: cannot write to docker socket: $DOCKER_SOCK_FILE" >&2
|
||||
echo "change socket permissions or try using sudo"
|
||||
echo "change socket permissions or try using sudo" >&2
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
@@ -141,7 +140,6 @@ launch_app_command() {
|
||||
}
|
||||
|
||||
check_docker_access
|
||||
|
||||
check_docker_version
|
||||
|
||||
case "$COMMAND" in
|
||||
|
||||
Reference in New Issue
Block a user