0% found this document useful (0 votes)
3 views

Compose Guide

The document serves as a guide for using Docker, covering topics such as Docker Compose, volume mapping, environment variables, and Docker networking. It includes practical tasks like deploying various applications (Stirling PDF, Jellyfin, Bookstack) and setting up container communication. Additionally, it emphasizes using Docker Compose exclusively and provides links to relevant resources and repositories.

Uploaded by

spencerjoh02
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Compose Guide

The document serves as a guide for using Docker, covering topics such as Docker Compose, volume mapping, environment variables, and Docker networking. It includes practical tasks like deploying various applications (Stirling PDF, Jellyfin, Bookstack) and setting up container communication. Additionally, it emphasizes using Docker Compose exclusively and provides links to relevant resources and repositories.

Uploaded by

spencerjoh02
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Compose Guide

What we learn
1. Docker
Docker Compose
Docker Run
VScode connection into container

2. Volume Mapping
- Linux file permissions
- 주의: volume mapping의 호스트 파일들은 수동 생성해주기

3. Environment Variable
- Direct assignment
- .env file assignment

4. Docker Network
Port mapping
- Docker network isolation (networks)
- network mode (network_mode)
- host
- other network

5. Device Mapping
- Nvidia GPU

6. Restart condition
Inter-Container Communication
Docker GUI

What to do
1. Stirling PDF 배포해보기(dockge에 통합)
https://www.stirlingpdf.com
[https://docs.stirlingpdf.com/Installation/Docker%20Install]
(https://docs.stirlingpdf.com/Installation/Docker Install
"https://docs.stirlingpdf.com/Installation/Docker Install")
https://github.com/Stirling-Tools/Stirling-PDF

2. Dockge 배포해보기
3. Jellyfin 배포해보기 (linuxserver/jellyfin)
- HW 트랜스코딩이 포함될 것

https://hub.docker.com/r/linuxserver/jellyfin
https://github.com/linuxserver/docker-jellyfin

-e PUID=1000 for UserID - see below for explanation


-e PGID=1000 for GroupID - see below for explanation

4. Ubuntu 컨테이너를 두 개 띄우기


- 한 컨테이너에서 다른 컨테이너로 SSH 접속해보기
- docker network create
- compose.yaml -> network, external: true -> networks
- apt install openssh server
- ip address / docker inspect

5. bookstack 배포해보기 (bookstack docker)


- web/db 분리된 상황

dbeaver 와 bookstack과 같이 사용해보기


https://github.com/dbeaver/cloudbeaver/wiki/CloudBeaver-Community-
deployment-from-docker-image
+) README.md

6. althack/gazebo 배포해보기
- GUI 띄워보기 (Gazebo 창)
7. Unreal engine 실행
docker hub image
Check
Docker Compose만 사용할 것
도커 참고자료(https://kimjingo.tistory.com/category/About/Docker)

1 ==dockerhub compose registory==


2 docker.io/stirlingtools/stirling-pdf:latest에서의 이미지와
3 stirlingtools/stirling-pdf:latest 에서의 이미지가 같다.
4
5 ==github compose registory==
6 ghcr.io/stirlingtools/stirling-pdf:latest
7
8 ==inha image repository==
9 reg.iacsl.org/user/image_name:tag_name

You might also like