Multi-usage Docker container to use with GNS3
235
The dockrouter item can be added to your network diagram like any other device. It will start with no service running and no interface setup. The easiest way to setup interfaces is to use GNS3 network configuration menu (right click, edit config) which will bring up a Debian ifupdown network configuration file.
Simply connecting eth0 to a NAT cloud and uncommenting auto eth0 and iface eth0 inet dhcp will setup a DHCP on eth0 on boot. You have to use full paths in pre-up/up/down/post-down stanzas, otherwise, busybox internal commands will be used first.
To start a service, right click on the dock router, select Show in file manager, navigate to etc/network/disabled, edit a configuration file then paste it in the parent folder. The service will start and show logs on the main console.
If you need to stop the logging and get a shell, you can press ENTER on the console. If you need another terminal, right click on the dockrouter and select Auxiliary console.
The service manager in this Docker is runsvdir/runsv/sv, to start/stop/get status of running services, use the sv command. Services are listed in /etc/service/. Example usage: sv start bird4 Since this is a Ubuntu system, most other commands will be the same.
Content type
Image
Digest
Size
82.3 MB
Last updated
over 7 years ago
docker pull ticpu/gns3-dockrouter