우분투 도커 사용시 systemctl 사용 문의
글쓴이: hugeval / 작성시간: 목, 2022/01/13 - 5:48오후
안녕하세요
우분투 20.04 도커 컨테이너에서 서비스를 등록하여 실행하려는데
systemctl 이 실행이 안되네요
이왕이면 Dockerfile 에 서비스 등록 및 실행까지 자동화하고싶은데
그게 안된다면 컨테이너 run 할때 어떻게 매개변수를 전달해야하는지를 모르겠네요.
CentOS 의 해결방법은 있는데 이게 우분투에서는 될지안될지 모르겠고..
혹시 방법 아시는분 계신지궁금합니다ㅠ
Forums:
댓글 달기