9. Distributed Tracing 2 : Setup Docker Desktop and Zipkin Server

 Distributed tracing the microservice using Zipkin Server. First install Docker Desktop, Pull and run Zipkin Server from Docker Container, and finally open the Zipkin Web UI in a browser.

Distributed Tracing

Docker Installation

Step 1 : Check and install Pre-Requisites before install Docker
  1. Install WSL
  2. Check 'Window Subsystem for Linux'
  3. Confirm CPU Virtualization is enabled
1. Install WSL using the below command.
Command in CMD :  wsl --install
2.  Checked 'Window Subsystem for Linux'. By default, it keeps unchecked. So check it.

3. Check 'Virtualization' is Enabled in Task Manager => CPU


Step 2 : Download 'Docker Desktop Installer' exe file.


Step 3: Install Docker, Install simply run exe as Run as Administrator
Docker Opening
After running the exe, it will pop up this window

Docker Opening
Docker Opening
Installation Finished

Docker Opening
Now open docker. we can skip this steps

Docker Opening
Skip all

Docker Opening
Accept it

Docker after install
Docker Desktop may take few minutes to go running status

Step 4: Keep Running Docker.


Pull and Run Zipkin Server using a single Docker Command
Command 
docker run -d -p 9411:9411 openzipkin/zipkin
Zipkin pulling from Docker container

Docker Desktop UI
By default Zipkin server runs on port 9411 (URL - http://localhost:9411) 

Done 👍

Post a Comment

0 Comments