Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
| ... | ... |
@@ -1305,6 +1305,9 @@ or two examples of how to pass more parameters to that ENTRYPOINT: |
| 1305 | 1305 |
$ docker run -it --entrypoint /bin/bash example/redis -c ls -l |
| 1306 | 1306 |
$ docker run -it --entrypoint /usr/bin/redis-cli example/redis --help |
| 1307 | 1307 |
|
| 1308 |
+> **Note**: Passing `--entrypoint` will clear out any default command set on the |
|
| 1309 |
+> image (i.e. any `CMD` instruction in the Dockerfile used to build it). |
|
| 1310 |
+ |
|
| 1308 | 1311 |
### EXPOSE (incoming ports) |
| 1309 | 1312 |
|
| 1310 | 1313 |
The following `run` command options work with container networking: |