Skip to content

Commit 95fd871

Browse files
committed
feat: 이미지 및 표 추가
1 parent d561442 commit 95fd871

5 files changed

Lines changed: 26 additions & 0 deletions

File tree

39.2 KB
Loading
233 KB
Loading

book/docker_tutorial/01.what_is_docker.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Docker의 개념과 필요성
22
## Docker란 무엇인가?
3+
![alt text](../assets/imgs/docker_tutorial/docker-logo-blue.png)
34
Docker의 공식 홈페이지에서는 Docker를 아래와 같이 정의하고 있습니다.
45

56
> Docker는 애플리케이션 개발, 배포 및 실행을 위한 개방형 플랫폼입니다.

book/docker_tutorial/03.docker-compose.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Docker Compose 개념 & 실습
2+
![alt text](../assets/imgs/docker_tutorial/docker-compose-icon.webp)
23

34
Docker Compose는 “여러 컨테이너를 하나의 애플리케이션으로 정의·실행”하기 위한 도구입니다.
45
여러 서비스를 하나의 설정 파일(`docker-compose.yml`)에 선언하고, 단일 명령으로 전체 스택을 관리할 수 있습니다.

book/docker_tutorial/04.ollama.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,29 @@ curl http://localhost:11434/api/tags
6161
- 개인 PC에서도 사용할 수 있도록 가벼운 gemma 3 모델 다운로드
6262
- 다양한 모델을 다운로드하여 사용 가능
6363

64+
## 모델 선택하기
65+
#### 모델 파라미터 및 크기
66+
> 예시에서는 Gemma 3를 사용하지만, 아래의 모델표를 참고하여, 자신의 컴퓨터 사양에 맞는 모델을 선택할 수 있습니다. (추가 모델은 [여기](https://github.com/ollama/ollama?tab=readme-ov-file#model-library)에서 확인할 수 있습니다.)
67+
68+
- 사양을 모른다면, 작은 모델 선택을 권장합니다.
69+
70+
## 모델 정보
71+
72+
| 모델 이름 | 파라미터 수 | 크기 | 모델 명(코드) |
73+
|----------------|------------|---------|-------------------------------|
74+
| Gemma 3 (1B) | 1B | 815MB | `gemma3:1b` |
75+
| Gemma 3 (4B) | 4B | 3.3GB | `gemma3` |
76+
| Gemma 3 (12B) | 12B | 8.1GB | `gemma3:12b` |
77+
| Gemma 3 (27B) | 27B | 17GB | `gemma3:27b` |
78+
| QwQ | 32B | 20GB | `qwq` |
79+
| DeepSeek-R1 | 7B | 4.7GB | `deepseek-r1` |
80+
| DeepSeek-R1 | 671B | 404GB | `deepseek-r1:671b` |
81+
| Llama 3.3 | 70B | 43GB | `llama3.3` |
82+
| Llama 3.2 (3B)| 3B | 2.0GB | `llama3.2` |
83+
| Llama 3.2 (1B)| 1B | 1.3GB | `llama3.2:1b` |
84+
| Llama 3.2 Vision | 11B | 7.9GB | `llama3.2-vision` |
85+
86+
6487
### bash
6588
```bash
6689
docker exec ollama ollama pull gemma3
@@ -76,6 +99,7 @@ curl http://localhost:11434/api/pull -d '{
7699
## Gemma3 모델로 질문하기
77100
### bash
78101
```bash
102+
docker exec ollama ollama generate -m gemma3 -p "Why is the sky blue?"
79103
```
80104

81105
### REST API

0 commit comments

Comments
 (0)