-
Notifications
You must be signed in to change notification settings - Fork 18.8k
fix issue #2606 #3505
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
fix issue #2606 #3505
Conversation
LGTM |
mmm, @jvermillard could you please update the cli.rst documentation with your new option too? |
@SvenDowideit done |
docs LGTM :) and i know someone who will want to use this (with a very large number) doc @metalivedev @kencochrane @jamtur01
|
my goal here is to run oracle xe 11g, which need 2Gbytes of SHM (or it refuses to start) |
I would be interested in the |
[OFF-TOPIC] @corporate-gadfly you can't do it with a dockerfile, because you need -privileged option for running the oracle installer |
ping? do you need extra modification for merging the PR? |
@jvermillard Can you rebase, please? This will require reviewing again after rebasing because PR #3580 was merged. |
rebase done |
bumped signoff dco version |
@@ -1009,6 +1009,7 @@ image is removed. | |||
-n, --networking=true: Enable networking for this container | |||
-p, --publish=[]: Map a network port to the container | |||
--rm=false: Automatically remove the container when it exits (incompatible with -d) | |||
-shm="65536k": /dev/shm size (format: <number><optional unit>, where unit = b, k, m or g) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be --shm=...
? (two dashes)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok let me fix that
@jvermillard Some tests are failing
|
weird :/ was working before the rebase. I probably missed something while rebasing, I'll check that |
ok the way lxc is configured totally changed with PR #3580 so I need to rewrite my whole patch. |
@jvermillard We talked on IRC so I am going to close this for now until we finish the changes to the exec drivers or you will be forever rebasing until we are finished. We will keep this in mind when designing the api. |
Is there any thread where I could watch progress on setting /dev/shm size for docker? |
I'm using centos 6.6 and need -shm support. Didn't see it in the help so I imagine it hasn't made its way to this release. Currently using docker 1.5. Please help - really need more control of sizing /dev/shm. |
Any update on this PR? |
From elgalu/docker-selenium#20 (comment) Should be fixed, after docker implement `-shm` argument in moby/moby#3505
Added a "docker run" option for sizing /dev/shm which is actually
hardcoded to 64M.
The option is -shm="xxx" where xxx is the size in bytes using k,m,g
notation.
Docker-DCO-1.0-Signed-off-by: Julien Vermillard jvermillar@sierrawireless.com (github: jvermillard)