> 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/docs.edgegap.com-ko/docs/tools-and-integrations/container/first-docker.md).

# 첫 Docker

이제 컴퓨터에서 Docker가 실행되고 있으니 첫 번째 Dockerfile을 만들어 보겠습니다.

컨테이너를 만들기 전에 컨테이너가 무엇인지 이해해야 합니다. 컨테이너는 Linux(또는 Docker Desktop)에서 네이티브로 실행되며 호스트 머신의 커널을 다른 컨테이너와 공유합니다. 독립적인 프로세스를 실행하며 추가 실행 파일과 다름없는 적은 메모리만 사용하므로 경량입니다.

<figure><img src="/files/2df2001794884c8e50af06909f197d52e4a86dc3" 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/docs.edgegap.com-ko/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.
