jeudi 6 août 2015

docker/boot2docker in amazon ec2

I'm trying to run a docker container on an amazon ec2 windows instance (windows 8) and trying to install docker. The only option right now is to install boot2docker. When using a Microsoft access server, boot2docker didn't work because virtual box could not work without hardware virtualization. I thought this may be an issue here but it doesn't seem to be, since the boot2docker-vm is running.

I get an issue when trying to start boot2docker. If I use the Boot2Docker Start.exe I get

Waiting for VM and Docker daemon to start .............ooo

And it hangs. If I try to run from powershell with boot2docker -v up I get the following:

Boot2Docker-cli version: v1.7.1
Git commit: 8fdc6f4
2015/08/06 20:35:58 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe showvminfo boot2docker-vm --machinereadable
Waiting for VM and Docker daemon to start...
.Connecting to tcp://localhost:2022(attempt #0).Connecting to tcp://localhost:2022(attempt #0).Connecting to tcp://localhost:2022(attempt #0).Connecting to tcp://localhost:2022(attempt #0).Connecting to tcp://localhost:2022(attempt #0)...

Does this have something to do with not being able to access localhost on an ec2 instance or a virtual machine? If so, how can I work around this?




Aucun commentaire:

Enregistrer un commentaire