These are chat archives for azukiapp/azk

16th
Dec 2015
Gullit Miranda
@gullitmiranda
Dec 16 2015 04:11
@FDiskas i sow your issue.
I will interact with it explaining what happens. Do you want to open the other issue relates to creating without folders, or prefer me do it?
Vytenis
@FDiskas
Dec 16 2015 10:02
prefer you do
I don't know what im doing
Vytenis
@FDiskas
Dec 16 2015 13:02
is it posible install azk on windows10 ?
Gullit Miranda
@gullitmiranda
Dec 16 2015 13:44
rsrs. Ok, I do
No is possible, yet.
Vytenis
@FDiskas
Dec 16 2015 13:44
thanks
Gullit Miranda
@gullitmiranda
Dec 16 2015 13:45
Comment with +1 in this issue azukiapp/azk#334
yhaggai
@yhaggai
Dec 16 2015 15:26
hey i'm trying start the azk agent but i'm getting this error : azk: Trying to connect to docker (http://192.168.50.4:2375) (timeout: 20s)...
azk: Error: read ECONNRESET
Gullit Miranda
@gullitmiranda
Dec 16 2015 15:27
hi @yhaggai
yhaggai
@yhaggai
Dec 16 2015 15:27
i'v checked the network configuration on the virtualbox and seems good
hi!
Gullit Miranda
@gullitmiranda
Dec 16 2015 15:27
you use mac os x?
yhaggai
@yhaggai
Dec 16 2015 15:27
yes
Gullit Miranda
@gullitmiranda
Dec 16 2015 15:28
what azk version you use?
yhaggai
@yhaggai
Dec 16 2015 15:29
the latest - azk 0.16.3
Gullit Miranda
@gullitmiranda
Dec 16 2015 15:30
you have tried to restart the azk agent?
yhaggai
@yhaggai
Dec 16 2015 15:31
several times, it stops the agent immediately after i get this error
Gullit Miranda
@gullitmiranda
Dec 16 2015 15:32
pls, run:
azk doctor
yhaggai
@yhaggai
Dec 16 2015 15:32
 Version : 0.16.3
  Agent   : down
  Docker  : down
  Use vm  : yes
Gullit Miranda
@gullitmiranda
Dec 16 2015 15:35
not yet added the version of VirtualBox ask the doctor :(
what virtual box version?
VBoxManage --version
yhaggai
@yhaggai
Dec 16 2015 15:36
right now
4.3.32r103443
i downgraded from 5 it because thought there was a problem with newest version
*the newest
Vytenis
@FDiskas
Dec 16 2015 15:38
what about docker ps ?
Gullit Miranda
@gullitmiranda
Dec 16 2015 15:39
No. version 5 is working very well. try updating.
yhaggai
@yhaggai
Dec 16 2015 15:39
i get this message
Get http:///var/run/docker.sock/v1.20/containers/json: dial unix /var/run/docker.sock: no such file or directory.
  • Are you trying to connect to a TLS-enabled daemon without TLS?
  • Is your docker daemon up and running?
Gullit Miranda
@gullitmiranda
Dec 16 2015 15:39
But anyway the azk should work with version 4 as well.
Vytenis
@FDiskas
Dec 16 2015 15:40
Try open virtualbox and check if there any images running
Gullit Miranda
@gullitmiranda
Dec 16 2015 15:40
@FDiskas the adocker will not work because the agent is not running.
yhaggai
@yhaggai
Dec 16 2015 15:40
yeah, I get the agent up running
*I can't
Vytenis
@FDiskas
Dec 16 2015 15:41
Is there any vm ?
usualy the name is "default"
Gullit Miranda
@gullitmiranda
Dec 16 2015 15:41
in this case, @yhaggai has the docker machine installed. Otherwise it would show command not found
yhaggai
@yhaggai
Dec 16 2015 15:42
only the azk machine - azk-vm-dev.io
Vytenis
@FDiskas
Dec 16 2015 15:42
and its not running ?
try manually run if its not running :/
Gullit Miranda
@gullitmiranda
Dec 16 2015 15:43
@FDiskas In the Mac OS X, azk uses a VM to run docker.
not manually run
because the agent's service will not run.
Vytenis
@FDiskas
Dec 16 2015 15:44
But there is an virtualbox interface and you can run this VM and see what is wrong with him
Gullit Miranda
@gullitmiranda
Dec 16 2015 15:45
Run the VM manually can cause a number of problems.
Vytenis
@FDiskas
Dec 16 2015 15:45
I just tryed on Windows platform - and no problems
the VM was created by docker but it was not started successfuly
Gullit Miranda
@gullitmiranda
Dec 16 2015 15:46
azk not working in Windows =D
Vytenis
@FDiskas
Dec 16 2015 15:46
but docker-compose works
Gullit Miranda
@gullitmiranda
Dec 16 2015 15:46
the VM of azk is not the same VM docker machine.
Are different.
very different =D
@yhaggai you can update the virtualbox to version 5.0?
yhaggai
@yhaggai
Dec 16 2015 15:48
yeah, i'm doing it right now :)
Gullit Miranda
@gullitmiranda
Dec 16 2015 15:48
very nice =D
this is the repository of our VM:
https://github.com/azukiapp/debian2docker
@FDiskas ^
yhaggai
@yhaggai
Dec 16 2015 15:50
same error :(
azk: Loading settings and checking dependencies.
azk: Checking version...
azk: azk 0.16.3 detected
azk: Settings loaded successfully.
azk: Agent is being started...
azk: Installing virtual machine...
azk: Virtual machine has been successfully installed.
azk: Setting the ssh key to vm...
azk: Starting virtual machine...
azk: Waiting for virtual machine boot...
azk: Virtual machine is ready to use.
azk: Mounting the shared folder in virtual machine...
azk: Shared folder has been successfully mounted.
azk: Trying to connect to docker (http://192.168.50.4:2375) (timeout: 20s)...
azk: Error: read ECONNRESET
azk: Agent is being stopped...
azk: Trying to stop virtual machine...
azk: Virtual machine has been successfully stopped.
azk: Agent has been successfully stopped.
Gullit Miranda
@gullitmiranda
Dec 16 2015 15:51
@FDiskas
some differences:
  • Debian instead of Ubuntu
  • rsync
  • Vbox guest tools add
  • ...
yhaggai
@yhaggai
Dec 16 2015 15:52
i can ping myself (192.168.50.1) so the network should be configure correctly
Vytenis
@FDiskas
Dec 16 2015 15:52
is there an command like docker-mashine?
Gullit Miranda
@gullitmiranda
Dec 16 2015 15:53
@yhaggai. one momment
I do not quite understand your question @FDiskas
this is for VM
Gullit Miranda
@gullitmiranda
Dec 16 2015 15:56
no. azk not use docker toolbox
:D
azk uses only the docker API.
yhaggai
@yhaggai
Dec 16 2015 15:59
@gullitmiranda i'll upgrade my mac ox version to el capitan. I don't know what to beside that :(
Gullit Miranda
@gullitmiranda
Dec 16 2015 16:00
you installed azk before or after upgrading?
yhaggai
@yhaggai
Dec 16 2015 16:00
i haven't update the version yet
Vytenis
@FDiskas
Dec 16 2015 16:01

azk: Trying to connect to docker

the connection made by ssh?

Gullit Miranda
@gullitmiranda
Dec 16 2015 16:02
sorry. my english is very bad (yet) :(
no @FDiskas. azk use http protocol
Vytenis
@FDiskas
Dec 16 2015 16:03
me to :)
where are you from?
FDiskas @FDiskas Lithuania :)
Gullit Miranda
@gullitmiranda
Dec 16 2015 16:05
i am from Brazil.
Vytenis
@FDiskas
Dec 16 2015 16:06
nice
Gullit Miranda
@gullitmiranda
Dec 16 2015 16:06
@yhaggai, you tried uninstall azk?
Vytenis
@FDiskas
Dec 16 2015 16:18
upgrading OS
Gullit Miranda
@gullitmiranda
Dec 16 2015 16:19
after, try
  • uninstall azk
  • rm -R ~/.azk
  • install azk again
Vytenis
@FDiskas
Dec 16 2015 16:20
he can never return - OS may not boot again :)
Gullit Miranda
@gullitmiranda
Dec 16 2015 16:21
why?
Vytenis
@FDiskas
Dec 16 2015 16:22
@gullitmiranda i'll upgrade my mac ox version to el capitan. I don't know what to beside that :(
Gullit Miranda
@gullitmiranda
Dec 16 2015 16:24
Mac OS X upgrading works very well. :joy:
Vytenis
@FDiskas
Dec 16 2015 16:26
We will see :)