Typo --ti and missing my_strace_docker_image
Signed-off-by: Leo Gallucci <leo.gallucci@zalando.de> Upstream-commit: a5b69faafba8bbb85094993edf48bab106e7b54d Component: engine
This commit is contained in:
committed by
Leo Gallucci
parent
8c5b951858
commit
633c4cbeb6
@ -243,7 +243,7 @@ $ docker run --name my-redis -d redis
|
||||
Debug the redis container by running another container that has strace in it:
|
||||
|
||||
```bash
|
||||
$ docker run --it --pid=container:my-redis bash
|
||||
$ docker run -it --pid=container:my-redis my_strace_docker_image bash
|
||||
$ strace -p 1
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user