CraftOS as a GNS3 container
Find a file
Merith 301f299272
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 2m48s
actually build it
2025-06-09 21:18:20 -07:00
.forgejo/workflows Initial commit 2025-06-10 04:39:32 +01:00
Dockerfile actually build it 2025-06-09 21:18:20 -07:00
entrypoint.sh build attempt 1 2025-06-09 20:45:29 -07:00
Readme.md Initial commit 2025-06-10 04:39:32 +01:00

🖥️ GNS3 VNC Appliance Template

Base Image: git.merith.xyz/gns3/base-vnc:latest
Create custom VNC appliances for GNS3 with automatic startup scripts.


🚀 Quick Start

  1. Clone the template:
git clone https://git.merith.xyz/gns3/vnc-template.git
cd vnc-template
  1. Customize your appliance:
FROM git.merith.xyz/gns3/base-vnc:latest

## ADD YOUR CUSTOMIZATIONS HERE ##
RUN apk add --no-cache firefox-esr xterm

## END CUSTOMIZATION ##
COPY ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
  1. Configure startup (entrypoint.sh):
#!/bin/bash
# Start your applications automatically:
firefox &  # Launch in background
xterm      # Keep terminal open
  1. Build and push:
docker build -t your-registry/vnc-firefox:latest .
docker push your-registry/vnc-firefox:latest

🔧 GNS3 Appliance Configuration

  1. In GNS3, create new Docker VM template:
    • General Settings:
      • Name: Your-Appliance-Name
      • Docker image: your-registry/vnc-firefox:latest
    • Network:
      • eth0 = Management (NAT)
      • Additional NICs as needed
    • Console:
      • Type: VNC
      • Port: 5900

🧩 Key Components

File Purpose
Dockerfile Extends base image with your custom tools
entrypoint.sh Auto-starts when appliance boots (launch your apps/services here)
i3.config (In base image) Auto-runs /entrypoint.sh on startup