Skip to content

Commit 18505fb

Browse files
committed
lab4 update
Signed-off-by: Shouvik <[email protected]>
1 parent 4d7813b commit 18505fb

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

labs/lab4/readme.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -266,25 +266,16 @@ docker compose down
266266
✔ Network lab2_default Removed 0.1s
267267
```
268268

269-
To clean up the manual container we added:
269+
To clean up the manual container we added run below command:
270270

271271
```bash
272-
docker ps | grep manual
273-
f8a5fb797615 private-registry.nginx.com/nginx-plus/agent:nginx-plus-r31-alpine-3.19-20240522 "/usr/bin/supervisor…" About an hour ago Up About an hour 80/tcp one-auto
274-
```
275-
276-
**Your container id will be different.** You can stop it by using `docker stop <container id>`. Another tip, if you only have a few containers, docker will identify the container id with the first few characters (assuming they are unique). Here we use the first 3 characters and that's enough for docker to know which container we are talking about:
277-
278-
```bash
279-
docker stop f8a
280-
f8a
272+
docker stop $NAME-one-manual
281273
```
282274

283275
As we are finished with this exercise we can fully remove the container image as well:
284276

285277
```bash
286-
docker rm f8a
287-
f8a
278+
docker rm $NAME-one-manual
288279
```
289280

290281
Don't forget to stop all of the NGINX containers if you are finished with them, and **Delete them from the NGINX One Console Instance inventory**.

0 commit comments

Comments
 (0)