Newer versions are licensed under the GPLv3 license, while Apple still distributes a version licensed under GPLv2. If you run bash -version, you’ll see that Catalina includes Bash 3.2.57 when Bash 5.0 is the latest version. Some of the instructions about docker installation on Mac OS use the latter code that installs Docker as an Application. Download and install Docker Desktop for Mac.After the.
Install docker mac osc for mac#
Note that the version of Bash (Bourne Again SHell) included with macOS is still pretty outdated, however. Note that brew install docker and brew cask install docker is different. Docker Desktop for Mac If you are running macOS 10.10.3 (Yosemite) or later, follow these instructions to install Docker Desktop for Mac. Hold the Ctrl key, click your user account’s name in the left pane, and select “Advanced Options.”Ĭlick the “Login Shell” dropdown box and select “/bin/bash” to use Bash as your default shell or “/bin/zsh” to use Zsh as your default shell. Click the lock icon and enter your password. Docker handles the complex setup and allows you to focus on writing the code. Docker Desktop helps you build, share, and run containers easily on Mac and Windows as you do on Linux.
If you’re using an earlier macOS, use the App Store instead. Accelerating new features in Docker Desktop. If you’re using macOS Mojave or later, choose Apple menu > System Preferences, then click Software Update. Head to System Preferences > Users & Groups on your Mac. If the installer needs more storage space to upgrade, you can free up space using tools that come with your Mac. You can also change this option graphically from System Preferences if you prefer. You can see a list of included shells you can select by running the following command: cat /etc/shells After you close the terminal window and reopen it, you’ll be using Zsh. Change the default shell back to Zsh by running this command: chsh -s /bin/zshĮnter your password when prompted.