Try Linux OS with Docker (Ubuntu, Fedora, etc.)

0

precondition

Docker installed. The host OS is Mac.

Quickly try it out

Search by Docker image ubuntu etc.

Click on the docker hub site as shown below.

スクリーンショット 2021-09-28 19.38.19.png

If there is no commitment, copy and paste the command on the right side of the screen and execute it. If you want a specific version, copy and paste what you want from Tags.

スクリーンショット 2021-09-28 19.39.30.png

# docker pull ubuntu
Using default tag: latest
latest: Pulling from library/ubuntu
Digest: sha256:xxx
Status: Image is up to date for ubuntu:latest
docker.io/library/ubuntu:latest

# docker images
REPOSITORY TAG     IMAGE ID       CREATED     SIZE
ubuntu     latest  fb52e22af1b0  4 weeks ago  72.8MB

# docker run -it ubuntu:latest
[email protected]:/#

There are many commands that are not installed, so install any command you like

root@1ce9df42add1:/# apt update
[email protected]:/# apt install bc
Share:
0
Author by

AWSが好きです。 AWS 11冠

Updated on September 29, 2021