- Open up the terminal
- Make sure you go to the home directory via:
cd ~ - Create a new folder called sfdc via:
mkdir sfdc - Change into that directory via :
cd sfdc - Copy the contents of the file into
docker-compose.ymlinto that directory. In the terminal,lsshould print outdocker-compose.yml - Make sure the docker app is running on your machine
- In the terminal, run the command
docker-compose up
Above, we could also use the command
docker-compose up -dwhich runs the container detached, but above is good to help see if there are any issues
After a few minutes, connect to the MySQL database via your tool of choice (e.g. Dbeaver). You if you do not run the command with -d, the first time might take a few minutes as it pulls the necessary tooling down to your computer.
To stop the container,
contrl + cif you followed step 7 below, and thendocker-compose stopif you useddocker-compose up -d. You will need to usedocker-compose stopto properly stop the container. You can monitor if the container is running via Docker App (in the toolbar) and Dashboard.