본문 바로가기
카테고리 없음

[Mac][M1] Docker Ubuntu

by sosob 2023. 8. 10.
728x90

도커 설치 후,

아래의 명령을 통해 우분투를 설치 및 실행할 수 있다.

 

docker run -i -t --name hello ubuntu /bin/bash

Unable to find image 'ubuntu:latest' locally

latest: Pulling from library/ubuntu

5af00eab9784: Pull complete 

Digest: sha256:0bced47fffa3361afa981854fcabcd4577cd43cebbb808cea2b1f33a3dd7f508

Status: Downloaded newer image for ubuntu:latest

root@b16b2c5de799:/# 

root@b16b2c5de799:/# ls   

bin  boot  dev  etc  home  lib  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var

728x90