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;
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
add a comment
|
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
docs.docker.com/engine/reference/commandline/update. Look at the memory params
– aran
Mar 28 at 21:18
add a comment
|
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
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
docker amazon-ec2
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
add a comment
|
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
add a comment
|
1 Answer
1
active
oldest
votes
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.
add a comment
|
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment
|
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.
add a comment
|
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.
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.
edited Mar 29 at 15:52
answered Mar 28 at 21:07
devDdevD
258 bronze badges
258 bronze badges
add a comment
|
add a comment
|
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
docs.docker.com/engine/reference/commandline/update. Look at the memory params
– aran
Mar 28 at 21:18