We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3cd71dc + 5ad66dd commit cba6deaCopy full SHA for cba6dea
1 file changed
chapters/docker-container.adoc
@@ -310,7 +310,7 @@ docker stop <CONTAINER ID>
310
+
311
[source, text]
312
----
313
-docker rm $(docker stop $(docker ps -q))
+docker stop $(docker ps -q)
314
315
316
. Stop only the exited containers
@@ -329,14 +329,14 @@ docker ps -a -f "exited=-1"
329
docker rm 0bc123a8ece0
330
331
332
-. Containers meeting a regular expression
+. Remove containers meeting a regular expression
333
334
335
336
docker ps -a | grep wildfly | awk '{print $1}' | xargs docker rm
337
338
339
-. All running containers, without any criteria
+. Remove all containers, without any criteria
340
341
342
0 commit comments