-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
v2 podman remote attach, start, and run #6246
Conversation
for the remote client, add the ability to attach to a container, start a container, and run a container. Signed-off-by: Brent Baude <[email protected]>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: baude The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
LGTM |
@@ -23,8 +24,7 @@ func StartContainer(w http.ResponseWriter, r *http.Request) { | |||
} | |||
if len(query.DetachKeys) > 0 { | |||
// TODO - start does not support adding detach keys | |||
utils.BadRequest(w, "detachKeys", query.DetachKeys, errors.New("the detachKeys parameter is not supported yet")) | |||
return | |||
logrus.Info("the detach keys parameter is not supported on start container") |
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.
logrus.Info("the detach keys parameter is not supported on start container") | |
logrus.Info("the detach keys parameter is not supported on container start") |
@@ -23,8 +24,7 @@ func StartContainer(w http.ResponseWriter, r *http.Request) { | |||
} | |||
if len(query.DetachKeys) > 0 { | |||
// TODO - start does not support adding detach keys | |||
utils.BadRequest(w, "detachKeys", query.DetachKeys, errors.New("the detachKeys parameter is not supported yet")) | |||
return | |||
logrus.Info("the detach keys parameter is not supported on start container") |
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.
or
logrus.Info("the detach keys parameter is not supported on start container") | |
logrus.Info("the detach keys parameter is not supported when starting a container") |
LGTM other than one nit |
/lgtm |
for the remote client, add the ability to attach to a container, start a container, and run a container.
Signed-off-by: Brent Baude [email protected]