Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Slobodan Mišković
    @slobo
    seems docker for osx and windows is publicly released: https://blog.docker.com/2016/07/docker-for-mac-and-windows-production-ready/
    Danni Friedland
    @BlueHotDog
    hey guys, trying to install AZK on newest mac, encountering a LOT of errors :(
    Danni Friedland
    @BlueHotDog
    ?
    Gullit Miranda
    @gullitmiranda
    hi @BlueHotDog. we are working to release a version using the docker for mac. After the upgrade we hope not to occur errors in Mac Sierra.
    Danni Friedland
    @BlueHotDog
    Anyway i can make AZK work now?
    my current error is:
    ```
    azk: Lost internet connection or error while connecting to docker registry:
    azk: Error: 404: >> url: https://registry-1.docker.io/v1/repositories/library/rabbitmq/tags/3.6.5-management
    @gullitmiranda
    Gullit Miranda
    @gullitmiranda
    @BlueHotDog this error has been solved in master branch. We need make new release with this (and others) fixes.
    Danni Friedland
    @BlueHotDog
    @gullitmiranda Anyway i can run from master? it's kind of urgent since i'm unable to provision my environment for the past 2 days :(
    Gullit Miranda
    @gullitmiranda
    yes. you can run from master.
    instructions here: http://docs.azk.io/en/installation/source-code.html
    sorry for this problems. we had to prioritize some of the Azuki tasks, so the azk was a little stopped, mainly by the size of the work we are doing to the azk support the docker for mac
    Slobodan Mišković
    @slobo
    hey folks, is there a place to adjust the timeout for requests going through hipache?
    Slobodan Mišković
    @slobo

    eg, say I have php webserver at php.dev.azk.io and i have sleep.php <?php sleep(65);. Compare these two:

    ⟩ time curl -v http://php.dev.azk.io/sleep.php
    ...
    * Empty reply from server
    curl: (52) Empty reply from server
    Command exited with non-zero status 52
    0.00user 0.00system 0:30.02elapsed

    vs going to the container directly

    time curl -v http://php.dev.azk.io:32791/sleep.php
    ...
    < HTTP/1.1 200 OK
    ...
    
    0.00user 0.00system 1:05.00elapsed
    you can see that if ballancer is involved, it terminates connection after 30 seconds, vs webserver will let it run to completion
    Slobodan Mišković
    @slobo
    i see, we need to change tcpTimeout in balancer.js. I've sent in a pull request that lets us do this (and also other interesting hipache configs) via AZK_BALANCER_... environment vars: azukiapp/azk#689
    Gullit Miranda
    @gullitmiranda
    hi @slobo . tks for the contribution.
    I already gave my LGTM
    Slobodan Mišković
    @slobo
    thanks for accepting the other change!
    I have a question regarding azk shell behaviour and changing the window size.
    It seems that we don't forward SIGWINCH to the process running in the shell
    Slobodan Mišković
    @slobo
    how does azk shell work - does it end up exec(3)ing docker run or does it somehow proxy between docker process and the terminal?
    problem right now with window sizing is that if I start a azk shell, and then resize the terminal window, process inside is not aware and even entering bash commands turns into a pain
    Slobodan Mišković
    @slobo
    ah, found it azukiapp/azk#690
    seems on resize we were trying to get width of stderr instead of stdout
    (this could be a bug with node?)
    Slobodan Mišković
    @slobo
    would it make sense to make azk shell container cleanup not yield and instead let it fire in the background? It causes 0.5-1s delay when exiting shell while we wait for docker to clean the container, but from user perspective I don't think anyone cares as long as it gets cleaned up in the end?
    quick test without yield seems to cause no ill sideeffects and speeds up our staging scripts that do a series of azk shell commands one after another
    Adam Brady
    @SomeoneWeird
    Any chance OSX support can be updated to not have to use a VM anymore?
    Fabiano Chiaretto Fernandes
    @chiaretto
    Guys, I have a question. I run AZK on my user with the "azk start" command, so he calls docker and instantiates the container. The problem is that the created files and folders created by the container are allowed root in my local folder. Because docker runs as root. How to solve it?
    Anniel Menezes Cruz
    @annielmenezes
    Hi @chiaretto, you can create a docker group and user to run docker without root if you use sudo usermod -aG docker $(id -un) See more here: http://docs.azk.io/en/installation/linux.html
    Felipe Arenales Santos
    @fearenales
    @annielmenezes actually @chiaretto is right, because the user that runs inside the container is the root user, even if you're not running Docker as root.
    This is a known issue from Docker and the current solution (workaround, actually) is: after exiting the container, fix the generated files/folders permissions running the following command from inside your project's folder:
    sudo chown -R `id -un`:`id -gn` .
    Anniel Menezes Cruz
    @annielmenezes
    Ok, thx @fearenales :+1:
    Felipe Arenales Santos
    @fearenales
    thank you, @annielmenezes ! :D
    Fabiano Chiaretto Fernandes
    @chiaretto
    @fearenales thank you.
    Alex Puschinksy
    @alexpusch
    Hi guys, I'm trying to follow a guide for working with Cassandra and docker. One of the recommendations is to use the host network settings (--net=host) is this possible using azk (on Mac)?
    Slobodan Mišković
    @slobo
    hey folks, we get intermittent "No internet Connection" on our build server. I see here that azk checks for network connection before attempting pull https://github.com/azukiapp/azk/blob/667cd76247dfa21c1c79344aeeed32aa4f116317/src/images/index.js#L74
    And it seems connectivity npm package is used, which in that version tries to connect to google.com:80. I don't understand why this check is needed?
    What is the problem with letting image pull discover itself whether it can reach docker repo or not?
    Slobodan Mišković
    @slobo
    i've created #699 to remove this check
    Vytenis
    @FDiskas
    Any news about windows support?
    Danni Friedland
    @BlueHotDog
    Hi guys, do you support build environment variables?
    Vytenis
    @FDiskas
    Unsupported Fedora 25 version.
    Danni Friedland
    @BlueHotDog
    hey guys, is the AZK project still live?
    Vytenis
    @FDiskas
    looks like not :)
    Carlos Galarza
    @carloslfu
    look at this issue azukiapp/azk#696
    Marco Garofalo
    @th3n3rd
    Hi, is there a way to split a large Azkfile into multiple ones?
    Carlos José
    @CarlosJSL8_twitter
    Hey, guys i have a doubt
    image.png
    How can I fix this?