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.
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 **.
** Actual execution environment ** that can be executed based on the contents of the file defined in the image.
A file system that collects the files required to execute a container. Describe what kind of environment you actually work in.
A file that automatically generates a Docker image.
Go to Docker Hub and install Docker. https://hub.docker.com/editions/community/docker-ce-desktop-mac ↓ CREATE ACCOUNT ↓ Install with ** Get Docker ** ↓ Check if it was installed correctly
$docker version
Version: 19.03.13
Installation is complete when version is displayed.
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
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