From 012d7bf3382d58d2a87b95b42512edbef49fe512 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Wed, 13 Apr 2016 15:16:08 -0700 Subject: [PATCH] Run update.sh --- redis/README.md | 2 +- sonarqube/README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/redis/README.md b/redis/README.md index 0ee46239d..a7ec173e2 100644 --- a/redis/README.md +++ b/redis/README.md @@ -49,7 +49,7 @@ $ docker run --name some-app --link some-redis:redis -d application-that-uses-re ## ... or via `redis-cli` ```console -$ docker run -it --link some-redis:redis --rm redis sh -c 'exec redis-cli -h "$REDIS_PORT_6379_TCP_ADDR" -p "$REDIS_PORT_6379_TCP_PORT"' +$ docker run -it --link some-redis:redis --rm redis redis-cli -h redis -p 6379 ``` ## Additionally, If you want to use your own redis.conf ... diff --git a/sonarqube/README.md b/sonarqube/README.md index 323a992bf..245ea7b16 100644 --- a/sonarqube/README.md +++ b/sonarqube/README.md @@ -24,7 +24,7 @@ SonarQube is an open source platform for continuous inspection of code quality. The server is started this way: ```console -$ docker run -d --name sonarqube -p 9000:9000 -p 9092:9092 sonarqube:5.1 +$ docker run -d --name sonarqube -p 9000:9000 -p 9092:9092 sonarqube ``` To analyse a project: @@ -49,7 +49,7 @@ $ docker run -d --name sonarqube \ -e SONARQUBE_JDBC_USERNAME=sonar \ -e SONARQUBE_JDBC_PASSWORD=sonar \ -e SONARQUBE_JDBC_URL=jdbc:postgresql://localhost/sonar \ - sonarqube:5.1 + sonarqube ``` More recipes can be found [here](https://github.com/SonarSource/docker-sonarqube/blob/master/recipes.md).