Prerequisites for watsonx.data installation on Mac with Apple silicon
To install IBM® watsonx.data on Mac machine with Apple silicon, first install the prerequisites by either using docker with Colima or by using docker with Docker Desktop.
watsonx.data Developer edition
Note: Docker Desktop requires a paid license, while Colima uses an open source license.
Option 1: Installing the prerequisites by using Colima with Rosetta
Open the Mac terminal and complete the following procedure:
- Install Brew: https://brew.sh/.
- Install Docker: https://formulae.brew.sh/formula/docker.
brew install docker
- Install Colima: https://formulae.brew.sh/formula/colima.
brew install colima
- Install Rosetta:
softwareupdate --install-rosetta
Use the following commands to set up the Colima machine:
- Run the following command:
colima start machine-1 -a aarch64 --cpu 4 --memory 8 --disk 100 --vm-type=vz --vz-rosetta
Note: If you experience problems to start the Colima machine (just after Rosetta installation), restart your computer and run the start command again. - Run the following command to check whether the machine is created and is
running:
colima list
- Run the following command to shut off the machines that are not in
use:
colima stop <machine name>
Note: Only machine-1 must be running. - Run the following command to start the machine if it is not
running:
colima start machine-1
Note: Creating a Colima machine must be done only one time.
Option 2: Installing prerequisites by using Docker and enabling Rosetta support with Docker Desktop
Complete the following procedure:
- Install Rosetta by the following command:
softwareupdate --install-rosetta
- Install Docker Desktop. For more information, see Install Docker Desktop on Mac.
- Enable Rosetta in Docker Desktop by the following steps:
- Open Docker Desktop.
- Go to Settings.
- Go to Features in Development.
- Check Use Rosetta for x86/amd64 emulation on Apple Silicon.