Docker 우분투 설치
설치 환경 : 맥북 프로 M2 Arm64
https://docs.docker.com/desktop/setup/install/mac-install/
Mac
Install Docker for Mac to get started. This guide covers system requirements, where to download, and instructions on how to install and update.
docs.docker.com
인텔 맥북은 아래 그 외 위에 Apple silicon으로 설치.
회원가입 후 다음 화면 확인하고 터미널 확인.
터미널에서 다음 명령어. docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
다음 명령어로 우분투 확인 docker search ubuntu
ocr이라는 이름으로 설치 docker run -i -t --name ocr ubuntu /bin/bash
exit로 로그아웃 후 다시 로그인
docker images
docker run -it ubuntu bash
우분투 버전 확인
root@af219a354e22:/# cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo