- 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.yml
into that directory. In the terminal,ls
should 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 -d
which 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 + c
if you followed step 7 below, and thendocker-compose stop
if you useddocker-compose up -d
. You will need to usedocker-compose stop
to properly stop the container. You can monitor if the container is running via Docker App (in the toolbar) and Dashboard.