> For the complete documentation index, see [llms.txt](https://cleberjamaral.gitbook.io/mind/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cleberjamaral.gitbook.io/mind/knowledge/it/containers-1/docker.md).

# deploying busybox

### Pulling and running busybox image

* Pulling the image `$ docker pull busybox`
* Executing a simple command on busybox `$ docker run busybox echo "hello from busybox"`
  * Executing and automatically deleting busybox `$ docker run --rm busybox echo "hello from busybox"`

### Running terminal on busybox

* Open terminal on busybox `$ docker exec -it busybox sh`

### Deleting all stopped containers

* List last commands that ran recently`$ docker ps -a`
* Deleting stopped containers `$ docker container prune` or  `$ docker rm $(docker ps -a -q -f status=exited)`

###

###


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cleberjamaral.gitbook.io/mind/knowledge/it/containers-1/docker.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
