우분투에 Docker 사용환경 구축하기 (우분투 설치부터 docker 사용환경 구축까지)
1. VirtualBox에 Ubuntu 18.04 버전 설치
우분투 18.04버전 ISO 이미지를 다운받습니다.
https://releases.ubuntu.com/18.04/?_ga=2.74280210.1044559059.1595835649-264070087.1595835649
Ubuntu 18.04.4 LTS (Bionic Beaver)
Select an image Ubuntu is distributed on three types of images described below. Desktop image The desktop image allows you to try Ubuntu without changing your computer at all, and at your option to install it permanently later. This type of image is what m
releases.ubuntu.com
가상 머신을 하나 만들어줍니다.
Virtual Box에서 위에서 다운받은 ISO 이미지를 넣어줍니다.
시스템에서 부팅시 광학드라이브가 먼저 읽히도록 설정해주세요.
+ 이 부분이 잘 못 된 것 같다. 설치 다 하고 재시작하니까 다시 설치로 들어가더라고요?
그래서 저거 ISO 이미지 빼주고 vdi 를 껴줬는데, 원래는 그런 과정이 없어야하는데 ㅋㅋㅋㅋㅋㅋㅋㅋ
나중에 다시 해봐야겠다. 우선 오늘은 도커가 메인이니까
가상머신을 실행시키고. 우분투를 설치해줍니다.
본격 도커(docker) 설치
https://docs.docker.com/engine/install/ubuntu/
Install Docker Engine on Ubuntu
To get started with Docker Engine on Ubuntu, make sure you meet the prerequisites, then install Docker. Prerequisites OS requirements To install Docker Engine, you need the 64-bit version of...
docs.docker.com
위의 install setting 을 보고 하나하나 따라해봅니다.
이 세 번째에서 에러가 엄청 났다. ㅠㅠ 결국 가상머신에서 네트워크 설정이 잘 못 된거였는데, NAT 외에 Birdge 네트워크 하나를 추가해주었더니 됐다.