Go to the [https://www.docker.com/get-started](Get Started with Docker) page. Under Docker Desktop, select Download for Windows with default options checked, and run. Should take about 5 minutes.
If you encounter the "WSL 2 installation incomplete" error:
1.
Start PowerShell as Administrator
2.
Run dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
3.
Run dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
The Docker Enginer will start up. Give it a few minutes. You now have the option of using the docker desktop app (GUI) and docker PowerShell/Bash commands
Installation
Clone the repo on your computer and enter the folder:
1
git clone https://github.com/consul/consul.git
2
cd consul
Copied!
macOS & Linux
Then lets create our secrets and database config files based on examples:
Additionally, if you want to run the rails console just run in another terminal:
1
POSTGRES_PASSWORD=password docker-compose run app rails console
Copied!
To verify the containers are up execute:
1
dockerps.
Copied!
You should see output similar to this:
Windows
Pending to be completed... Contributions Welcome!
Having trouble?
Run these commands at Consul's directory, to erase all your previous Consul's Docker images and containers. Then restart the Docker installation process: