Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Gullit Miranda
    @gullitmiranda
    if you ever need to access a port other than 3000, you must add there in Azkfile.js
    Guilherme Araújo
    @guilhermearaujo
    so I will probably need to add one for pry-remote,
    Gullit Miranda
    @gullitmiranda
    :( do you need help?
    Guilherme Araújo
    @guilhermearaujo
    I just can't make it work...
    does it work for you?
    Gullit Miranda
    @gullitmiranda
    to be honest I never used the pry-remote with docker :(
    what's up?
    Guilherme Araújo
    @guilhermearaujo
    i haven't even used docker tbh... gotta read about it
    Gullit Miranda
    @gullitmiranda
    I will do some research and ask for help (@nuxlli)
    Vicente Pons
    @gponsu
    Hello, I have a question, what is the difference between sync and path in mounts?
    Differently from path option, sync uses rsync instead of VirtualBox shared folders. As result, the overall performance is significantly increased, mainly for applications which demand a great number of files (e.g. a Ruby on Rails application with a lot of assets).
    Did not I use virtualbox, then what is the difference?
    I ask, because with sync when I make changes in the files of app, not update me in the browser.
    Gullit Miranda
    @gullitmiranda

    For those who use Linux really is no performance improvement.
    Files created or changed within the container in sync folders are not synchronized with the host.

    Usually sync folders are used for dependencies, builds, and something.

    You are using livereload?

    Vicente Pons
    @gponsu
    Ahhmm ok, thanks you!!
    No, I not use livereload
    I am preparing a meetup about azk for next week in Valencia :)
    any recommendation or interesting points azk?
    Gullit Miranda
    @gullitmiranda

    Very nice @gponsu.
    In relation to sync and path, I think it's just what I said it.
    If you need the files on the host, use path (share) otherwise use sync.

    ex:
    Sync: dependêncas the npm, ruby, composer, ...
    path: logs or other files created by the application.

    If there is recording or slides, if you send us, we can put in the newsletter.
    For those who have doubts can ask in stackoverflow (using the tag azk, http://stackoverflow.com/questions/tagged/azk) or here in chat.
    Vicente Pons
    @gponsu
    thanks you very much @gullitmiranda
    Gullit Miranda
    @gullitmiranda
    I thank you :D
    Willian Fernandes
    @willian
    Hey guys! Could you help me? https://www.evernote.com/l/AHctjAvIc_xAbIJTuY1U7duuKzsJB4SIKbcB/image.png
    Slobodan Mišković
    @slobo
    hey folks, a while back you helped me setup some systems in Azkfile that don't start automatically, but instead I only use via "azk shell". One thing we did was set wait:false for those systems. In latest master of azk, having wait:false causes the Azkfile to be rejected. Is this intentional, and is there a new way to do "shell only" systems? Thanks
    Gullit Miranda
    @gullitmiranda
    hi @slobo
    Unfortunately there was a glitch in the implementation, the correction was made in the PR azukiapp/azk#489 that has not yet been integrated into the master. You can use it to fix this problem or else change the wait for { default: 0, limit: 0 }.
    Slobodan Mišković
    @slobo
    sounds good, thanks for quick reply
    Slobodan Mišković
    @slobo
    Hi folks, have you ever experienced a problem where "azk logs" gets truncated? Seems to happen to me on both OSX and linux, we have an app that does a large amount of debug output at startup. Seems logs stops at ~50kb. (250+ lines)
    (running docker logs on the created container does the same, so it's probably not docker -> azk issue, but something with docker?)
    Gullit Miranda
    @gullitmiranda
    hi @slobo
    I never had this exact problem, but it's good to open a issue because thus further reinforce the need logs manager.
    But anyway, I will research a bit about it.
    Slobodan Mišković
    @slobo
    ok, if i'm able to make it reproducible (without using my app code :) ) i'll create an issue. thanks
    Slobodan Mišković
    @slobo
    (it could also be just my application specific, so i don't expect you to spend any time on it until I can reproduce)
    Gullit Miranda
    @gullitmiranda
    If your application supports, try to send the log output to a file.
    Slobodan Mišković
    @slobo
    yes, I can work around this, but I like 'azk logs -f' functionality :)
    Gullit Miranda
    @gullitmiranda
    :D, azk logs is very useful, therefore we need to improve it.
    Slobodan Mišković
    @slobo
    as I understand it's basically an alias to 'docker logs' right?
    Gullit Miranda
    @gullitmiranda
    Today, we captured the container stream running. It is similar to docker logs.
    Slobodan Mišković
    @slobo
    i like the added annotations, like system name
    Gullit Miranda
    @gullitmiranda
    When azk support the docker's new 1.7/1.8 will be possible to improve this, since it has annotations natively.
    Slobodan Mišković
    @slobo
    hey folks, i have just seen an interesting behaviour of azk stop where it doesn't stop all systems, but instead just some, and doesn't print any error message (I didn't check exit code) https://gist.github.com/anonymous/14de9dca89cc5339f422
    as you see, it took 3 consecutive azk stop to have all systems in the stopped state. Did you need me to try and dig out any more info from that system?
    Gullit Miranda
    @gullitmiranda
    Very strange this behavior. Apparently there is some error in the moment of capture systems that must be stopped.
    I believe that I can reproduce the problem here, and once you have more information give you feedback. It's all right?
    Slobodan Mišković
    @slobo
    @gullitmiranda: sounds good - this is not a blocker for me, so I might not get to it for a while.
    random question: I know you switched from boot2docker to debian2docker on OSX, but have you considered https://github.com/ailispaw/boot2docker-xhyve which is supposed to be more performant?
    Gullit Miranda
    @gullitmiranda
    I did not know this, let's take a look.
    But a major motivation to migrate to the debian2docker was the support vboxfs.
    Slobodan Mišković
    @slobo
    I see. I think I read somewhere that with xhyve you get really fast filesystem access, so you could do away with sync() if true
    Slobodan Mišković
    @slobo
    heres where I heard about it: https://news.ycombinator.com/item?id=10052837
    Gullit Miranda
    @gullitmiranda
    Seems very promising, I'll look at it very carefully, also shared with Azuki team, if antender the requirements can be a great improvement to the AZK.
    Thanks for the links.
    Slobodan Mišković
    @slobo
    i may have asked this before, but is there a way to get the path to persistent folder for particular Azkfile?