[sonic-buildimage] Fix debug docker run instruction. (#5151)
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
This commit is contained in:
parent
3fee094760
commit
c98734c63c
@ -243,7 +243,7 @@ _Recommend: Rename image built using INSTALL_DEBUG_TOOLS=y to mark it explicit.
|
||||
* To debug a core file in non-SONiC environment that supports docker
|
||||
* `docker load -i docker-<name>-dbg.gz`
|
||||
* copy your unzipped core file into ~/debug
|
||||
* `docker run -it -entrypoint=/bin/bash -v ~/debug:/debug <image id>`
|
||||
* `docker run -it --entrypoint=/bin/bash -v ~/debug:/debug <image id>`
|
||||
* `gdb /usr/bin/<your binary> -c /debug/<your core>`
|
||||
|
||||
### Debug SONiC image
|
||||
|
Loading…
Reference in New Issue
Block a user