mirror of https://github.com/docker/cli.git
Typo --ti and missing my_strace_docker_image
Signed-off-by: Leo Gallucci <leo.gallucci@zalando.de>
This commit is contained in:
parent
b4f6b6d970
commit
74e0f7857b
|
@ -243,7 +243,7 @@ $ docker run --name my-redis -d redis
|
||||||
Debug the redis container by running another container that has strace in it:
|
Debug the redis container by running another container that has strace in it:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker run --it --pid=container:my-redis bash
|
$ docker run -it --pid=container:my-redis my_strace_docker_image bash
|
||||||
$ strace -p 1
|
$ strace -p 1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue