Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 1. Install Docker and required dependencies
- sudo apt update
- sudo apt install -y docker.io docker-buildx-plugin docker-compose-plugin
- sudo systemctl enable --now docker
- # 2. Create a directory for Grass and write docker-compose.yml
- sudo mkdir grass
- # Navigate into the directory
- cd grass
- # Create docker-compose.yml
- nano docker-compose.yml
- version: "3.9"
- services:
- grass-desktop:
- image: mrcolorrain/grass-desktop:latest # official Grass Desktop image
- container_name: grass-desktop
- hostname: grass-vm01 # name visible in your Grass dashboard
- network_mode: host # use host networking (no proxy)
- restart: unless-stopped # auto-restart on failure or reboot
- environment:
- USER_EMAIL: "[email protected]" # replace with your Grass account email
- USER_PASSWORD: "yourPassword" # replace with your Grass account password
- TRY_AUTOLOGIN: "false" # enable automatic login if possible
- volumes:
- grass-data: # volume to store Grass configuration
- # 3. Pull the latest image and run the container
- sudo docker compose pull
- sudo docker compose up -d
- # 4. Connect to you container
- http://YOUR_SERVER_IP:6080/vnc_lite.html
- pass: money4band
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement