Commit graph

129 commits

Author SHA1 Message Date
Matthew Heon 997de2f8e9 Initial implementation of renaming containers
Basic theory: We remove the container, but *only from the DB*.
We leave it in c/storage, we leave the lock allocated, we leave
it running (if it is). Then we create an identical container with
an altered name, and add that back to the database. Theoretically
we now have a renamed container.

The advantage of this approach is that it doesn't just apply to
rename - we can use this to make *any* configuration change to a
container that does not alter its container ID.

Potential problems are numerous. This process is *THOROUGHLY*
non-atomic at present - if you `kill -9` Podman mid-rename things
will be in a bad place, for example. Also, we can't rename
containers that can't be removed normally - IE, containers with
dependencies (pod infra containers, for example).

The largest potential improvement will be to move the majority of
the work into the DB, with a `RecreateContainer()` method - that
will add atomicity, and let us remove the container without
worrying about depencies and similar issues.

Potential problems: long-running processes that edit the DB and
may have an older version of the configuration around. Most
notable example is `podman run --rm` - the removal command needed
to be manually edited to avoid this one. This begins to get at
the heart of me not wanting to do this in the first place...

This provides CLI and API implementations for frontend, but no
tunnel implementation. It will be added in a future release (just
held back for time now - we need this in 3.0 and are running low
on time).

This is honestly kind of horrifying, but I think it will work.

Signed-off-by: Matthew Heon <mheon@redhat.com>
2021-01-14 18:29:28 -05:00
Radostin Stoyanov 7b3ad6d892 readme: Remove broken link
The file `varlink_remote_client.md` has been removed in commit:

f62a356515
Remove varlink support from Podman

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
2020-12-25 17:10:19 +00:00
Josh Soref 4fa1fce930 Spelling
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-12-22 13:34:31 -05:00
TomSweeneyRedHat 6bbe54f2b2 [CI:DOCS] Bump version on readme
Bump the version of Podman in the README.md to
the current 2.2.1

Addresses: #8760

Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-12-17 10:50:05 -05:00
OpenShift Merge Robot 055a7a9091
Merge pull request #8525 from mheon/readme_220
[CI:DOCS] Bump version in README to v2.2.0
2020-12-01 19:42:44 +01:00
Matthew Heon 1060154135 Bump version in README to v2.2.0
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-11-30 21:02:08 -05:00
Daniel J Walsh f62a356515
Remove varlink support from Podman
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-11-26 16:50:42 -05:00
Daniel J Walsh 5acf35e771
Fix link to point at correct content
Version of runtime.spec was incorrect.

Fixes: https://github.com/containers/podman/issues/8244

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-11-05 19:34:04 -05:00
Chris Evich 611c0cb0e0
[CI:DOCS] Fix broken CI readme links
Signed-off-by: Chris Evich <cevich@redhat.com>
2020-10-30 10:32:17 -04:00
Matthew Heon c0e0a42d13 Remove a note that the HTTP API is not yet stable.
It's been out for quite a while now, I think we can safely call
it stable.

Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-10-12 11:14:05 -04:00
Lars ffbeb2f346 Correct to latest version
Signed-off-by: Lars Gohr <elgohr@oss.volkswagen.com>
2020-10-02 12:30:03 +02:00
Landrash 63420d50a1 Adds missing . to README.md file.
Signed-off-by: Fredrik Lindqvist <landrash@mail.com>
2020-09-28 22:25:49 +02:00
Matthew Heon d8c30675d2 Bump version in README to v2.1.0
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-09-22 14:48:55 -04:00
Ashley Cui 98ae84cc9e [CI:DOCS] Update remote tutorials
update remote tutorial
update mac/windows tutorial
move varlink tutorial

Signed-off-by: Ashley Cui <acui@redhat.com>
2020-09-08 17:30:54 -04:00
Matthew Heon ec008c3464 Update master with release notes for v2.0.6
Also update README to reflect the new release.

Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-09-01 14:06:26 -04:00
OpenShift Merge Robot 1f9b854c23
Merge pull request #7431 from mheon/update_master_206
[CI:DOCS] Update Master to reflect v2.0.5 release
2020-08-28 15:03:31 -04:00
Matthew Heon 8cf23655df Small tweaks to readme scope section
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-08-28 11:18:10 -04:00
Matthew Heon d981440d20 Update Master to reflect v2.0.5 release
Adds release notes and updates current version in README.

Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-08-28 11:11:17 -04:00
Paul Holzinger 116300f968 [CI:DOCS] Switch more references from libpod to podman
Switch the libpod references to podman in the CONTRIBUTING.md.
Update the cirrus-ci link so we can get a green build again :)

Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
2020-08-27 22:36:35 +02:00
Matthew Heon 66f1ec64ab Update master README and release notes for v2.0.4
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-07-31 17:24:22 -04:00
Daniel J Walsh a5e37ad280
Switch all references to github.com/containers/libpod -> podman
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-28 08:23:45 -04:00
Matthew Heon d46b7d7f1c Update release notes and README on master for v2.0.3
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-07-23 14:12:57 -04:00
Matthew Heon 1aa67b541d Update the README to reflect the libpod move
We no longer have to dance around the fact that the repo is named
"libpod" which simplifies the opening a bit. Also, refresh our
scope section and to-do section a bit.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-07-21 09:50:15 -04:00
Matthew Heon 237fe441b3 Remove outdated seccomp policy
Some time ago, we moved the Seccomp policy (and related setup
code) to a place where all our tools could share it [1]. We did
not, however, remove the in-repo seccomp.json file. Over the last
year or so, the in-repo seccomp policy has become progressively
more and more outdated, with no effort made to maintain it
(because what sense is there in keeping a duplicate?). Today, a
friend came to me and asked if a Podman container could access
keyctl, assuming it could not because he was reading the outdated
Seccomp policy which does not allow it. Since it's becoming clear
that this file is doing no good and actively causing confusion,
let's just drop it.

[1] https://github.com/seccomp/containers-golang

Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-07-13 16:35:04 -04:00
Matthew Heon b1623a1ba5 Update release notes on Master for v2.0.2
Also update README to reflect the new release.

Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-07-08 15:54:09 -04:00
Matthew Heon 38b028710e Update README to reflect that v2.0.0 has been released
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-06-19 15:56:08 -04:00
Daniel J Walsh 9f07eff1a4
Get MAC, Windows and Linux podman-remote from latest version links.
The links to latest windows and MAC versions are broken, and snapd version is i
out of date. Users should just go to release and grab packages from there.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-19 08:59:14 -04:00
Matthew Heon 38a772e82c Update release notes and version on master
We released v1.9.2 on the v1.9 branch, so bring the release notes
and readme up to date.

Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-05-13 15:58:25 -04:00
Sascha Grunert c21258b70e
Add podman static build
We’re now able to build a static podman binary based on a custom nix
derivation. This is integrated in cirrus as well, whereas a later target
would be to provide a self-contained static binary bundle which can be
installed on any Linux x64-bit system.

Fixes: https://github.com/containers/libpod/issues/1399

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-05-11 13:11:07 +02:00
Matthew Heon 753e0d8fbf Update the Podman readme
I noticed a large number of searches for Varlink on the Github
page, and that the readme still called it out as our only
supported API. This updates the readme to remove links to Varlink
API documentation, and points to docs for the new HTTP API.

I also updated other parts to reflect the current direction the
project is taking (Podman v2 and the HTTP API).

Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-05-08 14:06:47 -04:00
Matthew Heon af0d99f942 Update release notes and README for 1.9.1 release
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-04-28 18:08:59 -04:00
Matthew Heon d522755b51 Update README to reflect that latest version is v1.9.0
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-04-15 11:59:59 -04:00
Dmitry Savintsev e95a6d315b update the latest version to 1.8.2
Signed-off-by: Dmitry Savintsev <dsavints@gmail.com>
2020-04-08 17:14:23 +02:00
TomSweeneyRedHat 688e858740 Touch up mailing list address in README.md
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2020-03-31 15:02:39 -04:00
Matthew Heon 29c071d4f7 Update version in README to v1.8.1
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-03-11 12:47:31 -04:00
Valentin Rothberg f8443eb83a README: fix docs links
Fix: #5106
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-02-13 14:28:58 +01:00
Matthew Heon 562d3b09d0 Update readme to 1.8.0 release
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-02-07 09:16:13 -05:00
Sascha Grunert d780c0a23c
Update README.md to reference latest version
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-01-23 09:15:22 +01:00
Dmitry Smirnov 8d928d525f codespell: spelling corrections
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
2019-11-13 08:15:00 +11:00
Matthew Heon 23058842f2 Bump version in README to v1.6.3
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2019-11-04 16:07:00 -05:00
Stephen Piccolo d7a8310380
Update link to Commands documentation
The previous link pointed to the Markdown file, but the links are broken on that page. This pull request points to the actual documentation.

Grabbed from @srp33 PR https://github.com/containers/libpod/pull/4407 to help the merge process.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-11-01 16:38:18 -04:00
OpenShift Merge Robot 2793ec29c6 Merge pull request #4292 from mheon/bump-1.6.2
Bump to v1.6.2

Signed-off-by: cnbattle <qiaicn@gmail.com>
2019-10-18 21:55:16 +08:00
OpenShift Merge Robot bd08fc0e9b
Merge pull request #4180 from cevich/update_download_links
Docs: Update links, add links to latest
2019-10-04 08:55:50 -07:00
Chris Evich 980291d0c1
Docs: Update links, add links to latest
Signed-off-by: Chris Evich <cevich@redhat.com>
2019-10-03 15:18:38 -04:00
Matthew Heon 6a540bd3ba Podman 1.6.0 has been released, update the README
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2019-10-02 13:09:50 -04:00
Matthew Heon 080abfd222 Add README note about security reporting process.
Signed-off-by: Matthew Heon <mheon@redhat.com>
2019-09-26 13:04:55 -04:00
Valentin Rothberg fd8570befa README: add Communications section
Add a `Communications` section to the README to make it more
approachable for new users who want to reach the community and
maintainers.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-09-25 13:49:18 +02:00
TomSweeneyRedHat 9f84d2ee27 Move rootless and Mac to Tutorials page
As the title says.

Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2019-09-19 19:26:32 -04:00
Daniel J Walsh f25f2ccbea
Fixup README.md to give proper information
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-09-05 14:44:44 -04:00
Chris Evich 370b1a887c
Cirrus: Reimplement release archive + upload
The initial implementation was far more complicated than necessary.
Strip out the complexities in favor of a simpler and more direct
approach.

Signed-off-by: Chris Evich <cevich@redhat.com>
2019-08-28 11:54:06 -04:00