Deploying Grok-Mirror with Docker involves three main steps:
1. Install the Docker environment
- Windows/Mac users: Download and install Docker Desktop
- Linux user: Implementation
sudo apt update && sudo apt install docker.io -y - After the installation, it is possible to pass the
docker --versionverification version
2. Pulling mirrors
Runs in the terminal:docker pull dairoot/grok-gateway:latest
3. Activation of services
Execute the following command to start the container:docker run --rm -p 50005:8080 -v grok_gateway_db:/app/.cache_data dairoot/grok-gateway:latest
-p 50005:8080: Port mapping (local 50005 → container 8080)-vParameter: Configure data persistence storage
After deployment is complete, access thehttp://127.0.0.1:50005You can verify the service status. If you need external access, you also need to configure domain name resolution.
This answer comes from the articleGrok-Mirror: one-click deployment of a profitable Grok mirror siteThe































