728x90
1. VirtualBox DownLoad
https://www.virtualbox.org/wiki/Downloads
Downloads – Oracle VM VirtualBox
Download VirtualBox Here you will find links to VirtualBox binaries and its source code. VirtualBox binaries By downloading, you agree to the terms and conditions of the respective license. If you're looking for the latest VirtualBox 6.0 packages, see Virt
www.virtualbox.org
2. 이미지 불러오기(강의 자료)
3. 터미널 열기 + root 로그인
sudo -i #root 로그인
password 입력 #강의에 있음
reboot #재실행 , 바로 실행 되지 않아서 재실행
4. docker 설치 하기
apt install docker.io #docker 설치 명령어
5. Tomcat 설치하기
docker search tomcat #원하는 서비스 검색
docker run -d -p 8080:8080 --name tc consol/tomcat-7.0 #docker 이미지를 설치, Tomcat 서비스 설치
6. Tomcat 접속

728x90
'데브옵스(DevOps)를 위한 쿠버네티스 마스터 > 왕초보도 따라하는 도커 기초' 카테고리의 다른 글
| 환경 변수 사용해 MySQL 서비스 구축하기 (0) | 2022.05.31 |
|---|---|
| 도커의 유용한 명령어 (0) | 2022.05.30 |
| 이미지 비밀 : 레이어 (0) | 2022.05.30 |
| 도커 라이프 사이클 이해하기 (0) | 2022.05.30 |
| 내가 원하는 이미지 찾기 (0) | 2022.05.28 |