Docker
Jellyfin - 스트밍서버 설치 (Docker 사용)
파란크리스마스
2024. 7. 20. 16:55
728x90
출처
- Container | Jellyfin
- [Docker for a NAS] Jellyfin 개인 미디어 서버 - 반야자비의 기록실
- Docker container IP 확인 - ㅍㅍㅋㄷ - 티스토리
도커 이미지 받기
D:\docker>docker pull jellyfin/jellyfin
Using default tag: latest
latest: Pulling from jellyfin/jellyfin
2cc3ae149d28: Pull complete
4f4fb700ef54: Pull complete
c82dc21498d3: Pull complete
1ab9c15f0735: Pull complete ffa18de8d698: Pull complete
84c32e606b27: Pull complete
3f9d9fc1acb5: Pull complete
Digest: sha256:76930362d2c266e8f0b2f51f1c6b039a5207525d0e138a1cdbec870c66c34b0f
Status: Downloaded newer image for jellyfin/jellyfin:latest
docker.io/jellyfin/jellyfin:latest
도커 이미지 목록 조회
D:\docker>docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
jellyfin/jellyfin latest 49572434ce4c 3 weeks ago 1.04GB
디렉토리 생성
D:\docker>mkdir D:\docker\jellyfin\cache
D:\docker>mkdir D:\docker\jellyfin\config
D:\docker>mkdir D:\docker\jellyfin\media
컨테이너 생성
D:\docker>docker run -d --name jellyfin --publish 8096:8096/tcp --volume //d/docker/jellyfin/config:/config --volume //d/docker/jellyfin/cache:/cache --mount type=bind,source=//d/docker/jellyfin/media,target=/media --restart=unless-stopped jellyfin/jellyfin
95382ea8d758003170012890dda7800cd097e4b5b28fd82cf62ee1ee53cb17e3
실행 확인
실행 포트 확인
D:\docker>netstat -nao | findstr 8096
TCP 0.0.0.0:8096 0.0.0.0:0 LISTENING 12976
TCP 192.168.0.30:7634 192.168.0.30:8096 ESTABLISHED 19636
TCP 192.168.0.30:8096 192.168.0.30:7631 TIME_WAIT 0
TCP 192.168.0.30:8096 192.168.0.30:7634 ESTABLISHED 12976
TCP 192.168.0.30:8096 192.168.0.30:7635 TIME_WAIT 0
TCP 192.168.0.30:8096 192.168.0.30:7638 TIME_WAIT 0
TCP 192.168.0.30:8096 192.168.0.30:7641 TIME_WAIT 0
TCP [::]:8096 [::]:0 LISTENING 12976
TCP [::1]:7468 [::1]:8096 ESTABLISHED 19636
TCP [::1]:7506 [::1]:8096 ESTABLISHED 19636
TCP [::1]:8096 [::]:0 LISTENING 17952
TCP [::1]:8096 [::1]:7468 ESTABLISHED 17952
TCP [::1]:8096 [::1]:7506 ESTABLISHED 17952
TCP [::1]:8096 [::1]:7603 TIME_WAIT 0
TCP [::1]:8096 [::1]:7604 TIME_WAIT 0
TCP [::1]:8096 [::1]:7605 TIME_WAIT 0
TCP [::1]:8096 [::1]:7606 TIME_WAIT 0
TCP [::1]:8096 [::1]:7795 TIME_WAIT 0
TCP [::1]:8096 [::1]:7796 TIME_WAIT 0
실행중인 컨테이너 목록 조회
D:\docker>docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
39a869d25a8d jellyfin/jellyfin "/jellyfin/jellyfin" 38 seconds ago Up 38 seconds (healthy) jellyfin
컨테이너 실행 중지
D:\docker>docker stop 39a869d25a8d
39a869d25a8d
컨테이너 삭제
D:\docker>docker rm 39a869d25a8d
39a869d25a8d