-
Notifications
You must be signed in to change notification settings - Fork 3k
podman-remote create|run #2746
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
podman-remote create|run #2746
Conversation
|
[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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
I will enable tests on the next PR |
35d187a to
18a96f1
Compare
|
the test failures look legit ... ill dig into them today. |
|
☔ The latest upstream changes (presumably #2758) made this pull request unmergeable. Please resolve the merge conflicts. |
|
@baude Needs a rebase. |
da01544 to
a97c056
Compare
@haraldh can you elaborate? |
|
Code LGTM... Let's get some more reviews on this |
|
LGTM, assuming happy tests, which aren't at the moment. |
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.
Since we are removing EnvFile from being pushed. Should we fix that before this is merged?
pkg/adapter/containers.go
Outdated
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.
nit: We probably should change the exitCode to a constant.
larskarlitski
left a comment
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.
I don't understand the changes to the varlink API. What's the purpose of CreateResult and why do I need to pass something called Result into a Create API in the first place? It also seems very clunky to use.
I would encourage you to be patient. I'm reworking some stuff based on input from harald. And don't get hung up on wording. |
|
☔ The latest upstream changes (presumably #2825) made this pull request unmergeable. Please resolve the merge conflicts. |
|
☔ The latest upstream changes (presumably #2865) made this pull request unmergeable. Please resolve the merge conflicts. |
|
OK, this is now reworked to address some of the concerns about the endpoint that were brought up. The endpoint is now simpler and includes mostly nullable options. To deal with this, major rework was done on the remote-client side to deal with lack of context now being sent. |
add the ability to create and run containers via the podman-remote client. we now create an intermediate layer from the the create/run cli flags. the intermediate layer can be converted into a createconfig or into a varlink struct. Once transported, the varlink struct can be converted back to an intermediate layer and then to a createconfig. remote terminals are not supported yet. Signed-off-by: baude <[email protected]>
|
LGTM |
|
LGTM. |
|
/lgtm |
add the ability to create and run containers via the podman-remote
client.
we now create an intermediate layer from the the create/run cli flags.
the intermediate layer can be converted into a createconfig or into a
varlink struct. Once transported, the varlink struct can be converted
back to an intermediate layer and then to a createconfig.
remote terminals are not supported yet.
Signed-off-by: baude [email protected]