Typo --ti and missing my_strace_docker_image
Signed-off-by: Leo Gallucci <leo.gallucci@zalando.de>
This commit is contained in:
parent
77f4c30a21
commit
a5b69faafb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue