Skip to content

Increase RAM after creating container #197

Closed

Description

@marcocastignoli

Is it possible to increase RAM of an existing container?

Activity

  1. sickcodes commented on Mar 16, 2021

    @sickcodes
    Owner

    Yes take the image out and use :naked

  2. marcocastignoli commented on Mar 16, 2021

    @marcocastignoli
    Author

    I saw the small section in the readme saying quite the same thing. But it's not clear what you it means to "take the image out". Thanks for your patience

  3. marcocastignoli commented on Mar 16, 2021

    @marcocastignoli
    Author

    I just found what you mean... I suggest you to insert a link to the section "Backup the disk (Where's my disk?)" in the section "Start the same container later (persistent disk)" (if it makes sense)

  4. sickcodes commented on Mar 17, 2021

    @sickcodes
    Owner

    Will provide instructions shortly! Did you work it out regardless?

  5. marcocastignoli commented on Mar 17, 2021

    @marcocastignoli
    Author

    I reacreated the container before you replied 👍 very fast, so no problem man. Great work!

  6. mchemweno commented on Jun 11, 2021

    @mchemweno

    Can you please help with the instructions about 'taking an image out'

  7. catleeball commented on Sep 13, 2021

    @catleeball

    @mchemweno : It looks like this is mentioned in the Container creation part of the docs.

    Briefly, it looks something like this:

    $ docker pull sickcodes/docker-osx:auto
    [...]
    Status: Downloaded newer image for sickcodes/docker-osx:auto
    docker.io/sickcodes/docker-osx:auto
    
    $ sudo find /var/lib/docker -size +10G | grep mac_hdd_ng.img | head -n 1
    /var/lib/docker/overlay2/43736bffc5990b2c44e61c30110414b00389d18419638b1ccae1acf42df034a4/diff/home/arch/OSX-KVM/mac_hdd_ng.img
    
    $ cp /var/lib/docker/overlay2/43736bffc5990b2c44e61c30110414b00389d18419638b1ccae1acf42df034a4/diff/home/arch/OSX-KVM/mac_hdd_ng.img ./

    or in one line with something like this maybe:

    $  docker pull sickcodes/docker-osx:auto && cp $(sudo find /var/lib/docker -size +10G | grep mac_hdd_ng.img | head -n 1) ./
  8. gustavotoyota commented on Jul 8, 2023

    @gustavotoyota

    Leaving the solution here as it was hard for me to find: #199 (reply in thread)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions