> For the complete documentation index, see [llms.txt](https://docs.edgegap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.edgegap.com/ru/docs/tools-and-integrations/container/first-docker.md).

# Ваш первый Docker

Теперь, когда Docker запущен на вашем компьютере, давайте создадим ваш первый Dockerfile.

Прежде чем создавать контейнер, вам нужно понять, что такое контейнер. Контейнер работает нативно в Linux (или в Docker Desktop) и использует ядро хост-машины вместе с другими контейнерами. Он выполняет отдельный процесс, не занимая больше памяти, чем любое другое исполняемое, что делает его легковесным.

<figure><img src="/files/4a1385b3d558ae0789e754c9091134b4037b2602" alt=""><figcaption></figcaption></figure>

Теперь, когда вы настроили окружение, вы можете начать разработку контейнеризованных приложений.

Поскольку документация о том, как создать контейнер, уже доступна в сети, мы предлагаем вам следовать отличному руководству от Docker по созданию и запуску вашего образа:

[Docker — руководство по началу работы](https://docs.docker.com/get-started/02_our_app/)

{% hint style="info" %}
Мы рекомендуем использовать базовый образ, с которым вы чувствуете себя комфортно ([CentOS](https://hub.docker.com/_/centos), [Ubuntu](https://hub.docker.com/_/ubuntu), [Debian](https://hub.docker.com/_/debian) или [Alpine](https://hub.docker.com//alpine)). Мы можем запускать все ядра на базе Linux без проблем.
{% endhint %}


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.edgegap.com/ru/docs/tools-and-integrations/container/first-docker.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
