mirror of
https://github.com/erlang/docker-erlang-example.git
synced 2025-04-19 01:24:03 +03:00
Correct minor typos
The first example was not shown correctly, because the Markdown conversion ate the backquotes. Rewrite it with in the `$(...)` style as in second example.
This commit is contained in:
parent
e2c02cc2c5
commit
bc2cd70fe8
@ -2,20 +2,20 @@
|
||||
|
||||
* Remove all containers that are not running:
|
||||
|
||||
$ docker rm `docker ps -aq -f status=exited`
|
||||
$ docker rm $(docker ps -aq -f status=exited)
|
||||
|
||||
* Remove dangling images
|
||||
* Remove dangling images:
|
||||
|
||||
$ docker rmi $(docker images -f dangling=true -q)
|
||||
$ docker rmi $(docker images -f dangling=true -q)
|
||||
|
||||
* Attach to running docker
|
||||
* Attach to running docker:
|
||||
|
||||
$ docker exec -i -t NameOrId /bin/sh
|
||||
$ docker exec -i -t NameOrId /bin/sh
|
||||
|
||||
## Core generation
|
||||
|
||||
* `/proc/sys/core_pattern` is clearly persisted on the host. Taking note of
|
||||
it's content before starting any endeavour is therefore highly encouraged.
|
||||
its content before starting any endeavour is therefore highly encouraged.
|
||||
* dockers `--privileged` is necessary for a gdb session to catch the stack,
|
||||
without privileges, gdb just complains about No stack. Google still is
|
||||
hardly knowledgeable about this phenomenon...
|
||||
|
Loading…
x
Reference in New Issue
Block a user