설치 환경 : 맥북 프로 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
'Etc' 카테고리의 다른 글
보유 기술 (0) | 2022.08.12 |
---|---|
PowerShell 파일 내용 찾기 명령어 (0) | 2021.09.17 |
Java Jmeter 사용법(Windows) (0) | 2021.03.29 |
IDE 이클립스, 인텔리제이, Visual Studio 디버그 단축키 (0) | 2020.08.31 |
워드프레스 우커머스 버튼 추가 (0) | 2020.07.27 |