1. 컨테이너 네트워크 구조 확인컨테이너 실행 & 컨테이너 내부 접속 컨테이너 내부 IP 주소 확인ifconfig eth0 - 컨테이너의 기본 네트워크 인터페이스- Docker가 컨테이너에 자동으로 할당한 네트워크 인터페이스. - docker0 브리지 네트워크를 통해 호스트 및 다른 컨테이너와 통신함.- IP 주소: 172.17.0.2 도커 호스트의 네트워크 정보 확인ifconfig docker0 - Docker 브리지 네트워크 인터페이스- Docker 컨테이너가 서로 통신할 때 기본적으로 이 네트워크를 사용- IP 주소: 172.17.0.1 enp0s3- 호스트 머신의 실제 네트워크 인터페이스. 혹은 VM 네트워크 인터페이스- IP 주소: 10.0.2.4 (사설 네트워크). VirtualBox 같은..
Docker Hub: 가장 유명한 Public 도커 레지스트리 중 하나. 도커 이미지를 다운로드 하거나 업로드 할 수 있다.https://hub.docker.com/ Docker Hub Container Image Library | App ContainerizationIncrease your reach and adoption on Docker Hub With a Docker Verified Publisher subscription, you'll increase trust, boost discoverability, get exclusive data insights, and much more.hub.docker.com 도커 이미지 다운로드docker image pull 이미지명:태그명 docker image..
도커 리포지토리와 통신할 수 있는 환경을 설정apt 패키지 목록 업데이트sudo apt-get updateapt가 HTTPS에서 리포지토리를 사용할 수 있게 하는 데 필요한 패키지 설치sudo apt-get install ca-certificates curl gnupg lsb-release 도커 공식 GPG(GNU Privacy Guard) Key 추가도커 이미지 인증을 확인할 때 사용하는 키sudo mkdir -m 0755 -p /etc/apt/keyringscurl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg 리포지토리 설정echo \ "deb [arch=$(d..
Ubuntu 다운로드 Download Ubuntu Desktop | UbuntuUbuntu is an open source software operating system that runs from the desktop, to the cloud, to all your internet connected things.ubuntu.com VirtualBox 다운로드- Windows hosts 버튼 클릭 Downloads – Oracle VirtualBoxThis VirtualBox Extension Pack Personal Use and Educational License governs your access to and use of the VirtualBox Extension Pack. It does not a..
VirtualBox에서 서버를 실행했는데 아래와 같은 에러 메시지가 떴다.NtCreateFile(\Device\VBoxDrvStub) failed: 0xc0000034 STATUS_OBJECT_NAME_NOT_FOUND (0 retries) 윈도우를 재부팅하거나Ubuntu Server (이미지)를 재설치하고 윈도우를 재부팅하면 된다.