This guide uses Docker to run GNS3 server.
For Docker installation, see Docker.
GNS3 has a client-server architecture:
Create a directory to store your configuration and compose files.
mkdir -p /opt/gns3
cd /opt/gns3
GNS3 server requires KVM access for optimal performance:
services:
gns3:
image: gns3/gns3-server:latest
container_name: gns3-server
ports:
- "3080:3080"
environment:
- GNS3_LOCAL_HOST=0.0.0.0
volumes:
- ./config:/root/.config/GNS3
- ./projects:/root/GNS3/projects
devices:
- /dev/kvm:/dev/kvm
cap_add:
- NET_ADMIN
- NET_RAW
restart: unless-stopped
Start the container in the background.
docker compose up -d
Download and install the GNS3 GUI client from the official website:
gns3/gns3-server:latestAny questions?
Feel free to contact us. Find all contact information on our contact page.