- Docker Quick Start Guide
- Earl Waud
- 507字
- 2021-06-10 19:07:04
Installing Docker on an OS X workstation
The story for Docker on Mac has advanced a lot in recent years, and it is now a real, usable development solution for your Mac workstation. Docker CE for Mac requires OS X El Capitan 10.11 or newer macOS releases. The Docker CE app integrates with the hypervisor, network, and filesystem built into OS X. The installation process is simple: download the Docker installer image and launch it. You can download the installer image from the Docker store. You must log in to the Docker store be able to download the install image, so, create an account there if you don't have one already.
Browse to the Docker store page for Docker CE for Mac at https://store.docker.com/editions/community/docker-ce-desktop-mac. Remember that you must log into the Docker store to be able to download the installer image.
Once logged in to the Docker store, the Get Docker button will be available to click. Go ahead and click on it to start the download. The Docker CE for Mac install image may take some time to download. When the download has completed, double-click on the Docker.dmg image file to mount and open it:

Once the Docker CE for Mac image has mounted and opened, click the Docker icon and drag it onto the Applications icon to complete the install. The copying Docker to Applications action will be initiated. And when the copy process completes, the Docker application will be available to run from your Applications folder. Double-click on your Docker icon to launch it. Launching Docker for the first time will caution you that you are running an application downloaded from the internet to make sure you really want to open it. When the Docker app opens, you will be greeted with a friendly Welcome to Docker message.
Clicking next on the welcome message will warn you that Docker requires elevated privileges to run and will inform you that you must provide your credentials to install Docker's networking and app links. Enter your username and password. The Docker application will launch, adding a whale icon to the menu-notification area.
You will also be prompted to enter Docker store credentials to allow Docker for Mac to log in to the store. Enter your credentials and click on the Log In button. You will get a confirmation showing that you are currently logged in.
To validate that our installation was successful and confirm the functionality of our installation, we will issue the version command and then run Docker's hello-world container:
# validate install and functionality
docker --version
docker run hello-world
Your macOS workstation is now set up to create Docker images and run Docker containers. You are ready to containerize your apps! You can easily use your terminal window for all of your Docker work, but you may be interested in the graphical UI tool that is available for Mac, called Kitematic. Let's install Kitematic next.
- Word 2003、Excel 2003、PowerPoint 2003上機(jī)指導(dǎo)與練習(xí)
- 電力自動化實(shí)用技術(shù)問答
- Machine Learning for Cybersecurity Cookbook
- Hadoop 2.x Administration Cookbook
- 自動生產(chǎn)線的拆裝與調(diào)試
- MATLAB/Simulink權(quán)威指南:開發(fā)環(huán)境、程序設(shè)計(jì)、系統(tǒng)仿真與案例實(shí)戰(zhàn)
- 突破,Objective-C開發(fā)速學(xué)手冊
- Word 2007,Excel 2007辦公應(yīng)用融會貫通
- 計(jì)算機(jī)組成與操作系統(tǒng)
- Mastering SQL Server 2014 Data Mining
- 巧學(xué)活用Linux
- 互聯(lián)網(wǎng)單元測試及實(shí)踐
- Web滲透技術(shù)及實(shí)戰(zhàn)案例解析
- 細(xì)節(jié)決定交互設(shè)計(jì)的成敗
- 單片機(jī)與微機(jī)原理及應(yīng)用