All things docker
Q: anybody have tips on dockerizing/containerizing a legacy app that doesn’t really separate it’s config/logs into separate folders? It installs only to a single dir (ie.
/app/dpa) and I have to manually runs a web-installer to configure the DB repo first initial config.
# DPA-app Tree structure /app /dpa_2021.12.709 /logs /conf /license
How do people typically handle these sorts of scenarios where the app’s configs & data aren’t easily separated from the main binaries?
Does Docker for Mac seem to melt anyone elses machine like it does for me? I’ll be running one container which is just a shell (Geodesic) and my loadavg is pushing 15+ and idling there. I restart Docker enough now that it’s starting to drive me a bit crazy.
I stopped using it, now I’m starting a VM with multipass and use it for Docker
I feel like it didn’t used to be this way…
I run one command like
ls on geodesic or other docker image and my CPU is 100%
and it will stay there for a long while
I keep trying to use codespaces for local docker development and always end up just not using it due to CPU and all. I don’t want to clone in volume due to not being able to mount aws credentials and other configs, so ¯_(ツ)_/¯ …. i just end up using local.
I really want to try coder (remote workspaces) alternative to codespaces with cross platform tooling
I suspect it could be due to host mounted volumes
I have the same problem, even without any mounted volumes. Is there any issue on docker GH to follow?
I was looking around on Friday for issues in GH… it seems there are a number of them even some just as a recent as a few hours when I looked. I wonder why they’re hitting such bad performance issues recently….
Regardless, I’m glad I’m not the only one. “It works on my machine” for this type of issue would suck to hear.
For those of you suffering — I updated to this configuration (disabled “Use gRPC FUSE for file sharing”) in the Docker for Mac app and then restarted it seems to have chilled out my CPU usage to normal levels today. YMMV, but might be worth looking into.
thanks for the tip, I’ll try
Thanks @Matt Gowie I think it helped geodesic! But my other containers seems to be not catching up on changes on mounted volumes (like my jekyll blog ran via docker-compose)
Yeah @Erik Osterman (Cloud Posse), I have found this high CPU usage related with docker bind-mounts. specially with big files and directories. here are some references. To solve this problem I started using Mutagen, which has been working flawless so far for me.
Update: we are now looking at using GRPCFuse rather than mutagen as a simpler path for perf improvement. Tell us about your request Integrate the mutagen pluggin within Docker Desktop to provide us…
Docker for Mac has some long-lasting performance issues (ever since the launch in 2016) due to the way volume file sharing works. There…
Using Docker on a Mac in 2020 is comparable to having a 2009 Peugeot 1007 in 2020. I would know for i have both.
@Matt Gowie, implemented your suggestion yesterday, and am seeing a considerable improvement in docker start and execution times. Thank you for showing me I’m not crazy
@Yoni Leitersdorf (Indeni Cloudrail) glad it helped!
This looks to be one of the recently gaining steam issues in this regard: https://github.com/docker/for-mac/issues/3677
I have tried with the latest version of my channel (Stable or Edge) I have uploaded Diagnostics Diagnostics ID: CE10E9E0-4D58-4D8C-8533-82134EF088B2/20190520070056 Disk IO from/to container to/from…
I looked at mutagen and docker sync the other day and dang none of this had an easy button, which is kinda what I wanted if I’m adding more complexity with docker based code projects with vscode.
I might try disabling the option @Matt Gowie mentioned. I’m surprised that was worse performance because I think it was supposed to similar or the same as mutagen providing better performance. Reverting to legacy, I’d expect worse performance not better ¯_(ツ)_/¯