cloudfoundry / cloudfoundry/cli

cf push: support pushing from saved container image tarball

Open
#2,475 2 comments 1 reaction 1 assignee View on GitHub

@a-b is already working on this.

Since Sep 6, 2024.

product-improvement
Dominant language
Go
Stars
1.9k
Forks
990
Avg merge
1d 7h
Merged PRs (30d)
8

Description

What's the user value of this feature request?

Users can push a container image without having to publish to a container registry. This is useful for testing or containers that contain non-public information.

Who is the functionality for?

Anyone who wants to cf push containers without publishing to a container registry.

How often will this functionality be used by the user?

I would use it daily. I am not sure how often other users would use it.

Who else is affected by the change?

I do not believe this would cause any breakage. It would allow containers to be pushed from a saved container image tarball in addition to container registries.

Is your feature request related to a problem? Please describe.

I'm always frustrated when I have to setup a container registry just to cf push a container-based app.

Describe the solution you'd like

cf push APP-NAME --docker-saved-image my_saved_app_image.tar

Describe alternatives you've considered

No viable alternatives. Container images must be deployed from container registries. This means the container must be published to a public registry or you must setup your own container registry. This is not ideal for testing or containers that have non-public data.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.