Replies: 2 comments
-
| 
         @ethhack We don't offer a CLI method for changing container configuration today (though there is #317 that touches on this). If you want to wrench around, I think you're actually on the correct path. As a test, could you try this procedure when editing the JSON? 
 If this works, then try this: 
  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         I’ll give this a shot this week, when I’m back at my desk (took a much
needed week of PTO), and update this thread.
Thanks. 
…On Thu, Aug 14, 2025 at 7:38 PM J Logan ***@***.***> wrote:
 @ethhack <https://github.com/ethhack> We don't offer a CLI method for
 changing container configuration today (though there is #317
 <#317> that touches on this).
 If you want to wrench around, I think you're actually on the correct path.
 As a test, could you try this procedure when editing the JSON?
    1. run your container
    2. stop your container
    3. edit the JSON to modify the mount(s)
    4. container system stop
    5. container system start
    6. start your container
 If this works, then try this:
    1. run your container
    2. stop your container
    3. edit the JSON to modify the mount(s)
    4. launchctl kickstart -k gui/$(id
    -u)/com.apple.container.container-runtime-linux.{your-container-id}
    5. start your container
 —
 Reply to this email directly, view it on GitHub
 <#471 (comment)>,
 or unsubscribe
 <https://github.com/notifications/unsubscribe-auth/ACOCZYEKZ2FR6XFC2K2AUU33NUMWTAVCNFSM6AAAAACDOAJ7ZGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMJRGAYDCNI>
 .
 You are receiving this because you were mentioned.Message ID:
 ***@***.***>
 
 | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I know container run allows the user to add host directories as shares within the container, however, is there a method to do it for container start (adding a mount point to config.json or other way)? I can't seem to find an easy way to accomplish this. Tried adding mounts (in different formats) to config.json's mounts section, with no success so far.
Beta Was this translation helpful? Give feedback.
All reactions