Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 도커
- functional interface
- @Header
- 운영체제
- rainbow table
- python-socketio
- FunctionalInterface
- django-crontab
- 프로세스
- custom annotation
- 문자열 불변성
- AOP
- 문자열 리터럴
- 롬복주의점
- ReflectUtils
- Thread Library
- Spring
- Thread Multiplexing
- Process
- OS
- 함수형 인터페이스
- java.util.function
- sql-mappler
- hiberbate
- none이미지
- task_struct
- spring-data-jpa
- SystemCall
- strict stubbing
- 쓰레드 라이브러리
Archives
- Today
- Total
목록부팅시실행 (1)
JH's Develog

도커 컨네이너를 서비스로 등록하여 부팅시 자동으로 실행되도록 설정해보겠습니다. 라즈비안 OS환경에서 실행했으며(우분투에서도 동일하게 동작합니다.) Django 웹서버로 만든 도커 컨테이너를 사용하겠습니다. 먼저 /etc/systemd/system 폴더에 .service파일을 작성해주어야 합니다. 서비스 파일명은 자유롭게 설정해주면 되며 저는 "docker-django.service"로 설정하였습니다. //커멘드 sudo vim /etc/systemd/system docker-django.service //docker-django.service 파일 [Unit] Description=My Django Server Wants=docker.service After-docker.service [Service] ..
Docker
2022. 1. 7. 10:13