docs(docker): add essential logs and exec commands to docker basics (#10495)

This commit is contained in:
Javohirbek Asqarov (Jasper) authored and GitHub committed 2026-10-27 11:27:50 +01:00
1 parent 317e25b44a
commit 179802cbbb
1 file changed
+3 -1
@@ -28,4 +28,6 @@ Below are some essential Docker commands you'll use frequently:
* `docker container ls`: List all running containers.
* `docker container stop <container>`: Stop a running container.
* `docker container rm <container>`: Remove a stopped container.
* `docker image rm <image>`: Remove an image from your local machine.
* `docker image rm <image>`: Remove an image from your local machine.
* `docker logs -f <container>`: View live output and logs from a running container.
* `docker exec -it <container> sh`: Open an interactive terminal session inside a running container.