-
Notifications
You must be signed in to change notification settings - Fork 2.9k
podman create, start, getattachsocket #805
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
Conversation
pkg/varlinkapi/containers_create.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.
We should move all these into createConfig.GetContainerCreateOptions() so we can share code between this, run, and create
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.
can we defer that to another PR; given the huge change, i really wanted to achieve getting this working first.
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.
deferred
pkg/varlinkapi/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.
Extra whitespace
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.
fixed
pkg/varlinkapi/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.
Instead of making BundlePath public, it would probably be better to have a ctr.ControlSocketPath() that returns this
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 like that idea ... done
|
☔ The latest upstream changes (presumably #809) made this pull request unmergeable. Please resolve the merge conflicts. |
66f5c3c to
08acf68
Compare
First pass at implement API endpoints for create and start. Signed-off-by: baude <bbaude@redhat.com>
|
I'm going to LGTM this, but we really need to do refactoring work to clean this up soon - we now have duplicated some of the create code in three places. |
|
📌 Commit f676606 has been approved by |
|
☀️ Test successful - status-papr |
First pass at implement API endpoints for create and start.
Signed-off-by: baude bbaude@redhat.com