Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
Fix Docker run command example in README
Browse files Browse the repository at this point in the history
When trying to launch the command:

```
docker -- run -p 10000:10000 gcr.io/android-battery-historian/stable:3.0 --port 10000
docker: 'run' is not a docker command.
See 'docker --help'
```
Removing `--` fixes the problem:

```
docker run -p 10000:10000 gcr.io/android-battery-historian/stable:3.0 --port 10000                                                                                                  1 
Unable to find image 'gcr.io/android-battery-historian/stable:3.0' locally
3.0: Pulling from android-battery-historian/stable
c62795f78da9: Pull complete
d4fceeeb758e: Pull complete
5c9125a401ae: Pull complete
0062f774e994: Pull complete
6b33fd031fac: Pull complete
a6bd6e1d0bdb: Pull complete
76cf9d0635af: Pull complete
856d20d533e0: Pull complete
e63a73f6a528: Pull complete
1a75578c9353: Pull complete
24f3649604d9: Pull complete
10f637765748: Pull complete
e06a9fa76cf2: Pull complete
Digest: sha256:265a37707f8cf25f2f85afe3dff31c760d44bb922f64bbc455a4589889d3fe91
Status: Downloaded newer image for gcr.io/android-battery-historian/stable:3.0
2019/03/15 09:36:53 Listening on port:  10000
```
  • Loading branch information
michelesr committed Mar 15, 2019
1 parent d2356ba commit b72c8eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Run the Battery Historian image. Choose a port number and replace `<port>` with
that number in the commands below:

```
docker -- run -p <port>:9999 gcr.io/android-battery-historian/stable:3.0 --port 9999
docker run -p <port>:9999 gcr.io/android-battery-historian/stable:3.0 --port 9999
```

For Linux and Mac OS X:
Expand Down

0 comments on commit b72c8eb

Please sign in to comment.