Need to upgrade docker memory in AWS EC2 instanceTrying to SSH into an Amazon Ec2 instance - permission errorHow is Docker different from a virtual machine?Should I use Vagrant or Docker for creating an isolated environment?How to list containers in DockerHow to get a Docker container's IP address from the host?How to remove old Docker containersCopying files from Docker container to hostCopying files from host to Docker containerHow to copy Docker images from one host to another without using a repositoryDocker error : no space left on device

Why is a road bike faster than a city bike with the same effort? How much faster it can be?

How do I introduce dark themes?

Sci-fi movie with one survivor and an organism(?) recreating his memories

Knights and Knaves: What does C say?

Can an energy drink or chocolate before an exam be useful ? What sort of other edible goods be helpful?

What does it mean by "my days-of-the-week underwear only go to Thursday" in this context?

GPLv3 forces us to make code available, but to who?

French license plates

What should I consider when deciding whether to delay an exam?

Pushing the e-pawn

What would influence an alien race to map their planet in a way other than the traditional map of the Earth

Would an object shot from earth fall into the sun?

Avoiding dust scattering when you drill

what organs or modifications would be needed to have hairy fish?

Received a package but didn't order it

How much horsepower to weight is required for a 1:1 thrust ratio?

What can Thomas Cook customers who have not yet departed do now it has stopped operating?

LM324 - Issue with output in negative feedback

Why does it seem the best way to make a living is to invest in real estate?

Delete n lines skip 1 line script

How to stop the death waves in my city?

How deep is the liquid in a half-full hemisphere?

Population of post-Soviet states. Why decreasing?

Question about a degree 5 polynomial with no rational roots



Need to upgrade docker memory in AWS EC2 instance


Trying to SSH into an Amazon Ec2 instance - permission errorHow is Docker different from a virtual machine?Should I use Vagrant or Docker for creating an isolated environment?How to list containers in DockerHow to get a Docker container's IP address from the host?How to remove old Docker containersCopying files from Docker container to hostCopying files from host to Docker containerHow to copy Docker images from one host to another without using a repositoryDocker error : no space left on device






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am trying to deploy an application in EC2 through docker.
For testing in local I had to increase the docker ram to 4 gb which i did through Docker UI (preference->advance).



now for EC2 instance, Can somebody please suggest how to increase the docker memory from command prompt.










share|improve this question
























  • docs.docker.com/engine/reference/commandline/update. Look at the memory params

    – aran
    Mar 28 at 21:18


















0















I am trying to deploy an application in EC2 through docker.
For testing in local I had to increase the docker ram to 4 gb which i did through Docker UI (preference->advance).



now for EC2 instance, Can somebody please suggest how to increase the docker memory from command prompt.










share|improve this question
























  • docs.docker.com/engine/reference/commandline/update. Look at the memory params

    – aran
    Mar 28 at 21:18














0












0








0








I am trying to deploy an application in EC2 through docker.
For testing in local I had to increase the docker ram to 4 gb which i did through Docker UI (preference->advance).



now for EC2 instance, Can somebody please suggest how to increase the docker memory from command prompt.










share|improve this question














I am trying to deploy an application in EC2 through docker.
For testing in local I had to increase the docker ram to 4 gb which i did through Docker UI (preference->advance).



now for EC2 instance, Can somebody please suggest how to increase the docker memory from command prompt.







docker amazon-ec2






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 28 at 19:30









devDdevD

258 bronze badges




258 bronze badges















  • docs.docker.com/engine/reference/commandline/update. Look at the memory params

    – aran
    Mar 28 at 21:18


















  • docs.docker.com/engine/reference/commandline/update. Look at the memory params

    – aran
    Mar 28 at 21:18

















docs.docker.com/engine/reference/commandline/update. Look at the memory params

– aran
Mar 28 at 21:18






docs.docker.com/engine/reference/commandline/update. Look at the memory params

– aran
Mar 28 at 21:18













1 Answer
1






active

oldest

votes


















0
















Got the answer, so posting it here,



In EC2, docker size depends on the size of the instance itself.
if the EC2 has 16Gb ram, then docker container will have same ram.






share|improve this answer





























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );














    draft saved

    draft discarded
















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55405525%2fneed-to-upgrade-docker-memory-in-aws-ec2-instance%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0
















    Got the answer, so posting it here,



    In EC2, docker size depends on the size of the instance itself.
    if the EC2 has 16Gb ram, then docker container will have same ram.






    share|improve this answer































      0
















      Got the answer, so posting it here,



      In EC2, docker size depends on the size of the instance itself.
      if the EC2 has 16Gb ram, then docker container will have same ram.






      share|improve this answer





























        0














        0










        0









        Got the answer, so posting it here,



        In EC2, docker size depends on the size of the instance itself.
        if the EC2 has 16Gb ram, then docker container will have same ram.






        share|improve this answer















        Got the answer, so posting it here,



        In EC2, docker size depends on the size of the instance itself.
        if the EC2 has 16Gb ram, then docker container will have same ram.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Mar 29 at 15:52

























        answered Mar 28 at 21:07









        devDdevD

        258 bronze badges




        258 bronze badges

































            draft saved

            draft discarded















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55405525%2fneed-to-upgrade-docker-memory-in-aws-ec2-instance%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

            Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript