spiegel_podman/cmd/podman/containers
Nalin Dahyabhai 426db6fcc1 Accept a config blob alongside the "changes" slice when committing
When committing containers to create new images, accept a container
config blob being passed in the body of the API request by adding a
Config field to our API structures.  Populate it from the body of
requests that we receive, and use its contents as the body of requests
that we make.

Make the libpod commit endpoint split changes values at newlines, just
like the compat endpoint does.

Pass both the config blob and the "changes" slice to buildah's Commit()
API, so that it can handle cases where they overlap or conflict.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2023-11-30 09:00:52 -05:00
..
attach.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
checkpoint.go man pages and command help: clean up descriptions 2023-05-28 18:57:43 +02:00
cleanup.go New system tests for conflicting options 2022-12-21 06:23:29 -05:00
clone.go implement podman update 2022-09-01 13:02:01 -04:00
commit.go Accept a config blob alongside the "changes" slice when committing 2023-11-30 09:00:52 -05:00
container.go bump go module to version 4 2022-01-18 12:47:07 +01:00
cp.go cp: close temporary file on error path 2023-08-07 12:39:25 +02:00
create.go container create: use ParseUserNamespace to parse a user namespace setting 2023-11-30 09:00:52 -05:00
diff.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
exec.go containers.conf: add privileged field to containers table 2023-10-05 20:14:18 +02:00
exists.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
export.go Run make codespell 2023-03-21 16:00:54 -04:00
init.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
inspect.go shell completion: update podman inspect --type options 2022-05-19 14:04:22 +02:00
kill.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
list.go bump go module to version 4 2022-01-18 12:47:07 +01:00
logs.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
mount.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
pause.go fix: move filter flags from StringSliceVar to StringArrayVar 2023-05-25 16:53:14 +02:00
port.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
prune.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
ps.go fix: move filter flags from StringSliceVar to StringArrayVar 2023-05-25 16:53:14 +02:00
rename.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
restart.go Add support for passing container stop timeout as -1 (infinite) 2023-08-04 08:36:45 -04:00
restore.go Automatic code cleanups - JetBrains 2023-11-07 14:05:15 -06:00
rm.go podman: run --replace prints only the new container id 2023-09-28 23:32:27 +02:00
run.go run --rmi: "cannot remove" is a warning, not an error 2023-09-07 14:30:22 -06:00
runlabel.go Make sure users changes --authfile before checking 2023-07-27 12:06:25 -04:00
start.go fix: move filter flags from StringSliceVar to StringArrayVar 2023-05-25 16:53:14 +02:00
stats.go Automatic code cleanups - JetBrains 2023-11-07 14:05:15 -06:00
stop.go podman stop --cidfile missing --ignore 2023-08-08 17:03:15 -04:00
top.go Allow '/' to prefix container names to match Docker 2022-12-26 07:37:43 -05:00
unmount.go man pages and command help: clean up descriptions 2023-05-28 18:57:43 +02:00
unpause.go fix: move filter flags from StringSliceVar to StringArrayVar 2023-05-25 16:53:14 +02:00
update.go man pages and command help: clean up descriptions 2023-05-28 18:57:43 +02:00
wait.go container wait API: use string slice instead of state slice 2023-06-23 09:26:30 +02:00