This repository has been archived by the owner on Jul 6, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jkeiser
force-pushed
the
jk/more-options
branch
2 times, most recently
from
March 15, 2016 05:09
c1e82f9
to
c1e933c
Compare
This was referenced Mar 15, 2016
for greater reliability
we are going to be using SSH to open up a port.
value.each do |ulimit| | ||
type, values = ulimit.split("=", 2) | ||
soft, hard = values.split(":", 2) | ||
config["HostConfig"]["Ulimits"] << { "Name": type, "Soft": soft, "Hard": hard } |
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.
think this needs =>
not :
since keys are strings
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.
Whoah. How in the world did this work.
jkeiser
force-pushed
the
jk/more-options
branch
2 times, most recently
from
March 15, 2016 21:37
ca395cc
to
95e399b
Compare
(since they may be shared with the actual container)
jkeiser
force-pushed
the
jk/more-options
branch
2 times, most recently
from
March 15, 2016 22:32
b2de67d
to
914c6e3
Compare
jkeiser
force-pushed
the
jk/more-options
branch
2 times, most recently
from
March 17, 2016 02:12
e847fbd
to
1f17d55
Compare
jkeiser
force-pushed
the
jk/more-options
branch
from
March 17, 2016 02:23
1f17d55
to
46163d4
Compare
jkeiser
force-pushed
the
jk/more-options
branch
from
March 17, 2016 06:09
46163d4
to
259ccec
Compare
(commit often takes longer than this!)
👍 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This does several things:
docker_options: { container_config: { ... } }
docker run
docker run
(which is one reason we had bugs supporting all the user's options).