Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on Nov 27, 2023. It is now read-only.
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| rpc Exec(ExecRequest) returns (ExecResponse); | ||
| } | ||
| message Port { |
| } | ||
| func (ms *mobyService) Stop(ctx context.Context, containerName string) error { | ||
| timeout := 1 * time.Second |
Contributor
There was a problem hiding this comment.
1 second might be too short. What does docker/cli and docker/compose use?
ContributorAuthor
There was a problem hiding this comment.
timeout is a parameter to stop now
Uh oh!
There was an error while loading. Please reload this page.
silvin-lubecki
approved these changes
May 18, 2020
silvin-lubecki
left a comment
Contributor
There was a problem hiding this comment.
Just a fix on the options and a test to add, otherwise LGTM
rumplforce-pushed
the
feat-stop
branch
2 times, most recently
from
May 18, 2020 13:12
a428ab2 to
c4a04caComparechris-crone
approved these changes
May 18, 2020
This file contains hidden or 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
Sign up for freeto 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 is a mixed PR and I am really sorry about it, it contains:
--allflag todocker psallparameter in the interfaces and in the gRPC layerStopcommand to stop a running container (only implemented it in moby, still needs to be implemented for ACI).I just realized there is an inconsistency in the naming,
docker rmcalls theDeletemethod, we would need to create a new methodRemovefor this and not useDeleteonrm.