How to install Docker


This article summarizes how to install Docker on your Mac and is for Docker beginners. It is also my own memorandum.

Development environment Mac OS Catalina 10.15.7 Docker 19.03.13

** Target ** ・ I've heard that more and more web-based development companies are using Docker: frowning: ・ I'm interested but don't know what to do: disappointed_relieved:

For those who say.

What is Docker

Open source software or open platform for developing, deploying, and running applications using container virtualization. The image of ** a tool for building a virtual environment **.

What is a container?

** Actual execution environment ** that can be executed based on the contents of the file defined in the image.

What is an image?

A file system that collects the files required to execute a container. Describe what kind of environment you actually work in.

What is a Dockerfile

A file that automatically generates a Docker image.

Install on Mac

Go to Docker Hub and install Docker. ↓ CREATE ACCOUNT Docker イメージ.png ↓ Install with ** Get Docker ** ↓ Check if it was installed correctly

$docker version
Version:           19.03.13

Installation is complete when version is displayed.

After installation is complete

Specify the "hello-world" image published by Docker officially and start the container.

$ docker run hello-world

I think the following display was displayed. It just says ** Hello from Docker! ** on the console, so if it does, it's working fine. Unable to find image 'hello-world:latest' locally latest: Pulling from library/hello-world Hello from Docker!

** Image list display command **

$ docker images

At the end

Thank you for reading to the end: grin: This time it's the beginning of Docker, so next time I'd like to post a little more in-depth content: open_hands:

Recommended Posts

How to install Docker
How to install docker-machine
How to install MySQL
How to install ngrok
[Rails] How to install devise
How to set Docker nginx
How to install Boots Faces
[Rails] How to install simple_calendar
[Rails] How to install reCAPTCHA
How to install JDK8-10 (Mac)
[Rails] How to install Font Awesome
How to install JMeter for Mac
How to install ImageMagick on Windows 10
How to install ruby through rbenv
[How to install Spring Data Jpa]
How to run JavaFX on Docker
Super rough! How to install Dagger2
How to install Bootstrap in Ruby
How to install MariaDB 10.4 on CentOS 8
[Rails] How to install ImageMagick (RMajick)
[Rails] How to install Font Awesome
How to install WildFly on Ubuntu 18.04
[Artifactory] How to use Docker repository
Challenge to install WSL2 and docker
How to build CloudStack using Docker
How to start Camunda with Docker
How to install Swiper in Rails
How to deploy
How to share files with Docker Toolbox
How to install Play Framework 2.6 for Mac
[Rails] How to use rails console with docker
How to install Eclipse (Photon) on Mac
How to install production Metabase on Ubuntu
How to use Docker in VSCode DevContainer
How to install beta php8.0 on CentOS8
How to install the legacy version [Java]
Docker container build fails to install php-radis
How to install kafkacat on Amazon Linux2
Understand in 5 minutes !! How to use Docker
Note: [Docker] How to start and stop
How to run Blazor (C #) with Docker
How to build Rails 6 environment with Docker
How to install Pry after building Rails development environment with Docker
How to call AmazonSQSAsync
How to check the logs in the Docker container
How to use Map
How to write Rails
How to use rbenv
How to get a heapdump from a Docker container
How to use letter_opener_web
How to use with_option
How to use fields_for
How to use java.util.logging
How to install network drivers on standalone Ubuntu
How to use map
How to install Docker
How to make Spring Boot Docker Image smaller
How to use collection_select
Install Docker on Manjaro
How to install NVIDIA driver on Ubuntu 18.04 (Note)
How to adapt Bootstrap