- 
                Notifications
    
You must be signed in to change notification settings  - Fork 71
 
Fix default Docker daemon data directories #1138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
`get_data_path` can return `None` in case the directory is not configured. https://docs.docker.com/engine/daemon/#daemon-data-directory
| 
           This is already addressed in #1096: 
 @Zawadidone Could you confirm if that branch fixes your issue (too)?  | 
    
| 
           I stumbled on this while working on #1139. The PR does not solve the issue because the default Docker daemon data directory  (  | 
    
          
 Doesn't line 330-337 in #1096 from JSCU do exactly that? Except that this PR has a value for Windows too (and comments, nice). I personally fail to see how #1096 fails to address this, can you be more explicit in why it doesn't? It looks like almost the exact same code as this PR, except with some error logging. I would like to see this PR be a combination of this and that portion of #1096. So keep the Windows directory and comments near the paths, have the body of   | 
    
| 
           Okay a misunderstanding from my side, I used to wrong version of the code because my uv environment was bricked.  | 
    
          Codecov ReportAttention: Patch coverage is  
 
 Additional details and impacted files@@           Coverage Diff           @@
##             main    #1138   +/-   ##
=======================================
  Coverage   77.90%   77.90%           
=======================================
  Files         358      358           
  Lines       32622    32632   +10     
=======================================
+ Hits        25413    25421    +8     
- Misses       7209     7211    +2     
 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
  | 
    
          
CodSpeed Performance ReportMerging #1138 will not alter performanceComparing  Summary
  | 
    
| 
           @JSCU-CNI unless I'm overlooking something I think this is pretty much the same as that particular piece of code in your PR. I propose to merge this one first (since it's a lot smaller) and then you can simply rebase your PR. I'll get to that soon, you know how it is 😉.  | 
    
get_data_pathcan returnNonein case the directory is not configured.https://docs.docker.com/engine/daemon/#daemon-data-directory