spiegel_podman/pkg
Daniel J Walsh db23e12611
Add support for external container
External containers are containers created outside of Podman.
For example Buildah and CRI-O Containers.

$ buildah from alpine
alpine-working-container
$ buildah run alpine-working-container touch /test
$ podman container exists --external alpine-working-container

$ podman container diff alpine-working-container
C /etc
A /test

Added --external flag to refer to external containers, rather then --storage.

Added --external for podman container exists and modified podman ps to use
--external rather then --storage.  It was felt that --storage would confuse
the user into thinking about changing the storage driver or options.

--storage is still supported through the use of aliases.

Finally podman contianer diff, does not require the --external flag, since it
there is little change of users making the mistake, and would just be a pain
for the user to remember the flag.

podman container exists --external is required because it could fool scripts
that rely on the existance of a Podman container, and there is a potential
for a partial deletion of a container, which could mess up existing users.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-10-15 09:51:31 -04:00
..
annotations Add ContainerManager annotation to created containers 2019-09-10 09:37:14 +02:00
api Add support for external container 2020-10-15 09:51:31 -04:00
auth Add X-Registry-Config support 2020-09-29 08:46:44 -07:00
autoupdate Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
bindings Add support for external container 2020-10-15 09:51:31 -04:00
cgroups pkg/cgroups/createCgroupv2Path: nits 2020-10-05 15:57:57 -07:00
channel fix closed the remote connection on pull causes service panic 2020-10-03 11:38:38 +08:00
checkpoint Lowercase some errors 2020-10-05 15:56:44 -07:00
criu Add helper function to read out CRIU version 2018-10-23 12:52:03 +02:00
ctime Re-add int64 casts for ctime 2019-07-23 15:43:40 -04:00
domain Add support for external container 2020-10-15 09:51:31 -04:00
env Ensure DefaultEnvVariables is used in Specgen 2020-08-18 15:17:46 -04:00
errorhandling remote run: fix error checks 2020-09-11 12:41:15 +02:00
hooks pkg/hooks: support all hooks 2020-09-22 14:44:09 +02:00
inspect Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
kubeutils Remove dependency on kubernetes 2018-03-27 21:55:33 +00:00
lookup Turn on More linters 2020-06-15 07:05:56 -04:00
namespaces [CI:DOCS] BZ1860126 - Fix userns defaults in run man page 2020-08-07 15:42:13 -04:00
netns Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
parallel Move pod jobs to parallel execution 2020-10-07 10:00:11 -04:00
ps Fix podman-remote ps --ns broken 2020-10-04 19:48:13 +08:00
registrar Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
registries pkg/registries: add a retiring note 2020-09-30 16:30:41 +02:00
resolvconf Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
rootless Remove excessive error wrapping 2020-10-05 15:30:37 -07:00
rootlessport rootlessport: use two different channels 2020-04-29 12:35:23 +02:00
seccomp apiv2 container create using specgen 2020-02-19 15:20:15 -06:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
signal Turn on More linters 2020-06-15 07:05:56 -04:00
spec pkg/spec: fix a confusing error message 2020-10-09 15:54:03 -04:00
specgen Merge pull request #7929 from kolyshkin/nits-err 2020-10-06 10:15:04 +02:00
systemd Refactor version handling in cmd tree 2020-09-18 15:13:58 -07:00
terminal Set console mode for windows 2020-06-29 09:17:55 -05:00
timetype make lint: enable gocritic 2020-01-13 14:27:02 +01:00
tracing make lint: include pkg/tracing 2020-01-14 09:54:48 +01:00
trust Lowercase some errors 2020-10-05 15:56:44 -07:00
util Merge pull request #7929 from kolyshkin/nits-err 2020-10-06 10:15:04 +02:00
varlink Fix up errors found by codespell 2020-09-11 06:14:25 -04:00
varlinkapi Move pod jobs to parallel execution 2020-10-07 10:00:11 -04:00