IRC logs for #farmOS, 2019-04-22 (GMT)

2019-04-21
2019-04-23
TimeNickMessage
[22:51:21]* JustTB has quit (Ping timeout: 268 seconds)
[23:05:47]* JustTB has joined #farmos
[23:56:24]* JustTB has quit (Ping timeout: 246 seconds)
[03:50:26]* menace has joined #farmos
[04:22:59]* menace has quit (Remote host closed the connection)
[05:04:05]* JustTB has joined #farmos
[12:06:12]* JustTB has quit (Ping timeout: 244 seconds)
[12:08:39]* JustTB has joined #farmos
[16:23:11]<mstenta[m]>paul121: Hey regarding Docker on Mac with dlite...
[16:23:17]<mstenta[m]>Did I share this with you already?
[16:23:19]<mstenta[m]>https://github.com/farmOS/farmOS.org/issues/45
[16:23:30]<mstenta[m]>Sounds like dlite is no longer necessary on Mac
[16:23:41]<mstenta[m]>But we haven't updated the Docker instructions on farmOS.org yet
[16:23:58]<mstenta[m]>I'm working on some updates to the Docker workflow, and the farmOS.org docs, right now...
[16:24:23]<mstenta[m]>Maybe we could try this out together to see if it works for you, and then I can update the farmOS.org doc too
[16:30:35]<paul121[m]>Oh cool! You may have shared that
[16:30:47]<paul121[m]>dlite did seem to be dead
[16:30:56]<paul121[m]>I mostly just started working on Linux :)
[16:31:39]<paul121[m]>But would be good to have working and documented on Mac, too. Let me know and I can test!
[16:35:58]<mstenta[m]>Cool
[16:36:09]<mstenta[m]>So actually... I'm reading the Docker docs page about it now...
[16:36:15]<mstenta[m]>https://docs.docker.com/docker-for-mac/osxfs-caching/
[16:36:30]<mstenta[m]>It seems pretty straightforward - I can probably update the farmOS docs just based on this
[16:36:44]<mstenta[m]>But it would be great to have you test, if/when you can
[16:36:55]<mstenta[m]>I'll let you know when I publish the new docs
[16:41:02]<mstenta[m]>It's an interesting issue with Docker on Mac specifically... basically just coming down to the fact that Mac uses it's own filesystem `osxfs` - which by default can be really slow when syncing mounted volumes in/out of a Docker container (since it's not a native Linux filesystem)
[16:42:30]<mstenta[m]>The solution is to add `:delegated` to the end of the volume definitions in your `docker-compose.yml` file, which allows for a slight delay in when changes INSIDE the container get replicated OUTSIDE the container. But for our purposes, that doesn't matter, and it significantly increases the overall volume speed.
[16:42:48]<mstenta[m]>So what you'll need to look for is basically: is farmOS HORRIBLY SLOW when you run it in Docker on your Mac :-)
[16:47:35]<paul121[m]>Okay! I actually do remember it was noticably slow before
[16:48:10]<paul121[m]>So hopefully there is some improvement. I'll try to test later today
[17:25:03]* JustTB has quit (Quit: Leaving.)
[17:47:46]* JustTB has joined #farmos