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 | 29 | 30 | 31 |
Tags
- cubrid
- cmd인스톨러설치
- #Oracle
- CentOS7
- Oracle
- 딜라이브플러스앱설치
- cloudready OS
- YCSB
- root패스워드분실
- linux대용량파일열기
- core 분석
- ventoy 사용법
- iptime원격부팅
- GUI 또는 CLI전환
- ipvlan
- Dell Venue 8 Pro
- cloudstorage
- VPN
- Windows
- CentOS
- MySQL
- OTT셋톱박스
- 파이썬 스톱워치
- putty
- windows10원격부팅
- docker
- Linux
- system_log
- cmd로msi파일설치
- 딜라이브플러스h3
Archives
- Today
- Total
일단은 프로그래머 나부랭이
[docker] centos7 컨테이너 생성시 systemctl 명령어 이용하는 방법 본문
centos7 이미지를 컨테이너로 생성하면, 컨테이너 내부에서 systemctl 명령어를 사용할 수 없는 문제가 있습니다.
원인은 하단의 링크를 참고하시기 바랍니다.
[이미지 생성시]
docker run -it centos:7 /sbin/init
[컨테이너 내부로 접속할 시]
docker exec -it [컨테이너명 || 컨테이너 id] bash
로 접속하면 내부에서 systemctl 명령어를 이용하실 수 있습니다.
'Linux' 카테고리의 다른 글
centos7 방화벽 설정 (0) | 2019.03.06 |
---|---|
(리눅스) iperf3을 이용한 인터넷 속도 측정 (0) | 2019.03.06 |
centos7 파티션 파일시스템 변경 (0) | 2019.02.08 |
centos 파티션명 변경 방법 (0) | 2019.01.10 |
리눅스 환경변수를 쉽게 설정 또는 변경 하는 법 (0) | 2018.11.28 |
Comments