close
The Wayback Machine - https://web.archive.org/web/20210903144508/https://github.com/containers/podman/issues/10379
Skip to content
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

Shared volumes, like in Kubernetes Pod #10379

Open
PavelSosin-320 opened this issue May 18, 2021 · 7 comments · May be fixed by #11409
Open

Shared volumes, like in Kubernetes Pod #10379

PavelSosin-320 opened this issue May 18, 2021 · 7 comments · May be fixed by #11409

Comments

@PavelSosin-320
Copy link

@PavelSosin-320 PavelSosin-320 commented May 18, 2021

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind feature
or only Idea
Description
Enable to create shared volumes at the Pod level like in the Kubernetes Pod

Currently, Podman volumes can be shared via podman run --mounts-from, i.e only at the container level. On other hand, Kubernetes allows share volumes uniformly mounted by all Pod's containers. I would prefer to mount Podman volumes at the Pod level using
either podman volume create --pod mount-point.
or podman volume create & podman pod create --volume volume:mount-point --volume,..
what is easy for implementation.
Steps to reproduce the issue:

Describe the results you received:

Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):

Output of podman version:

(paste your output here)

Output of podman info --debug:

(paste your output here)

Package info (e.g. output of rpm -q podman or apt list podman):

(paste your output here)

Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)

Yes/No

Additional environment details (AWS, VirtualBox, physical, etc.):

@rhatdan
Copy link
Member

@rhatdan rhatdan commented May 18, 2021

Seems reasonable, interested in opening a PR?
@haircommander @umohnani8 WDYT?

@haircommander
Copy link
Collaborator

@haircommander haircommander commented May 19, 2021

yes this makes sense to me! moves podman pods more towards a pod as a logical host

@github-actions
Copy link

@github-actions github-actions bot commented Jun 19, 2021

A friendly reminder that this issue had no activity for 30 days.

@rhatdan
Copy link
Member

@rhatdan rhatdan commented Jul 9, 2021

@cdoern At some point might want to look at this.

@cdoern
Copy link
Collaborator

@cdoern cdoern commented Jul 9, 2021

@rhatdan yeah this looks cool! also want to give that buildah issue a try since I haven't worked on anything there yet,

@cdoern cdoern self-assigned this Jul 12, 2021
@github-actions
Copy link

@github-actions github-actions bot commented Aug 12, 2021

A friendly reminder that this issue had no activity for 30 days.

@cdoern
Copy link
Collaborator

@cdoern cdoern commented Aug 12, 2021

working on this, contingent on #10933 which is the infra container rework

cdoern added a commit to cdoern/podman that referenced this issue Sep 2, 2021
added support for the --volume flag in pods using the new infra container design.
users can specify all volume options they can with regular containers

resolves containers#10379

Signed-off-by: cdoern <cdoern@redhat.com>
@cdoern cdoern linked a pull request that will close this issue Sep 2, 2021
cdoern added a commit to cdoern/podman that referenced this issue Sep 2, 2021
added support for the --volume flag in pods using the new infra container design.
users can specify all volume options they can with regular containers

resolves containers#10379

Signed-off-by: cdoern <cdoern@redhat.com>
cdoern added a commit to cdoern/podman that referenced this issue Sep 2, 2021
added support for the --volume flag in pods using the new infra container design.
users can specify all volume options they can with regular containers

resolves containers#10379

Signed-off-by: cdoern <cdoern@redhat.com>
cdoern added a commit to cdoern/podman that referenced this issue Sep 2, 2021
added support for the --volume flag in pods using the new infra container design.
users can specify all volume options they can with regular containers

resolves containers#10379

Signed-off-by: cdoern <cdoern@redhat.com>
cdoern added a commit to cdoern/podman that referenced this issue Sep 3, 2021
added support for the --volume flag in pods using the new infra container design.
users can specify all volume options they can with regular containers

resolves containers#10379

Signed-off-by: cdoern <cdoern@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

4 participants