# Setup Docker

### Setting up your computer

check [official documentation](https://docs.docker.com/engine/install/) for installation steps&#x20;

Once you are done installing Docker, test your Docker installation by running the following:

```
➜  ~ docker run hello-world
​Hello from Docker.
This message shows that your installation appears to be working correctly....
```

### HELLO WORLD

#### Playing with ubuntu

To get started, let's run the following in our terminal:

```
➜  ~ docker pull ubuntu
...
```

The pull command fetches the ubuntu image from the Docker registry and saves it to our system. You can use the docker images command to see a list of all images on your system.

```
➜  ~ docker images 
REPOSITORY                                     TAG                   IMAGE ID       CREATED        SIZE
ubuntu                                         latest                2b4cba85892a   32 hours ago   72.8MB

```


---

# Agent Instructions: 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://0xa1mn.gitbook.io/cyber-explained/technologies/docker/setup-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.
