Closed AJNOURI closed 8 years ago
Now it should raise a clean warning everytime. I'm cleaning the docker support. A lot of stuff seem to not working properly.
When starting docker container, nightly build of 2016-02-08 still checking for non existing ubridge version 0.9.3
/usr/local/bin/ubridge -v ubridge version 0.9.0
Messed with https://github.com/GNS3/gns3-server/blob/master/gns3server/ubridge/hypervisor.py by changing "0.9.3" to "0.9.0"
Now showing
2016-02-09 08:27:57 INFO docker_vm.py:48 Docker image instance is being created 2016-02-09 08:27:57 INFO docker_vm.py:265 Docker container ajnouri/dockervpc-1 is loading 2016-02-09 08:27:57 INFO project.py:290 Server project path is /home/ajn/GNS3/projects/simple-voip 2016-02-09 08:27:57 INFO vm.py:157 IOU1 setting up and updating startup_config from '' to 'startup-config.cfg' 2016-02-09 08:27:57 INFO vm.py:157 IOU1 setting up and updating md5sum from '' to '2eabae17778316c49cbc80e8e81262f9' 2016-02-09 08:27:57 INFO vm.py:157 IOU1 setting up and updating console from 'None' to '2001' 2016-02-09 08:27:57 INFO vm.py:157 IOU1 setting up and updating private_config from '' to 'private-config.cfg' 2016-02-09 08:27:57 INFO vm.py:157 IOU1 setting up and updating path from '' to 'i86bi-linux-l3-adventerprisek9-15.4.1T.bin' 2016-02-09 08:27:57 INFO iou_device.py:476 IOU device IOU1 has been loaded 2016-02-09 08:27:58 INFO vm.py:157 ajnouri/dockervpc-1 setting up and updating environment from '' to 'None' 2016-02-09 08:27:58 INFO vm.py:157 ajnouri/dockervpc-1 setting up and updating console from 'None' to '2002' 2016-02-09 08:27:58 INFO vm.py:157 ajnouri/dockervpc-1 setting up and updating start_command from '' to '/bin/bash' 2016-02-09 08:27:58 INFO docker_vm.py:290 Docker container ajnouri/dockervpc-1 has been loaded 2016-02-09 08:27:58 INFO link.py:57 adding link from ajnouri/dockervpc-1 Ethernet0 to IOU1 Ethernet0/0 2016-02-09 08:27:58 INFO topology.py:931 Topology initialized 2016-02-09 08:28:01 INFO vm.py:121 IOU1 has started 2016-02-09 08:28:11 INFO http_client.py:658 Response error: Error downloading http://Thswfu0Hstf0xInRfWeHvpVJ44xeNOeiDgswmQkaaHgOcF72lzmgtCeXktygxxdT@127.0.0.1:8000/v1/projects/226c628a-2600-470c-b095-450ccc4ba685/docker/vms/56f87547-0b3f-4df7-8cda-626559d534b9/start - server replied: Conflict (error: 299) 2016-02-09 08:28:11 ERROR vm.py:118 error while starting ajnouri/dockervpc-1: Couldn't connect to hypervisor on 127.0.0.1:57809 :[Errno 111] Connect call failed ('127.0.0.1', 57809)
Is that related to port redirection you mentioned here gns3-gui/issues/947?
Ubridge 0.9.3 is available here: https://github.com/GNS3/ubridge/releases/tag/v0.9.3
Without it you can't use Docker.
OK, Thanks Julien.
I observe this with different images ajnouri/dockervpc and phusion/baseimage.
Inserted both devices to the topology docker ps -a
Ater pushing start, both containers are up: docker ps -a
And can attach a console to the one started with /bin/bash
docker attach 61500dcd9f4d root@61500dcd9f4d:/# root@61500dcd9f4d:/#
Here is the last nightly build showing a 0.9.0
unzip -l GNS3-1.5.0dev1.source.zip
/usr/local/bin/ubridge -v
log