logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

podman-generate-spec - Generate Specgen JSON based on containers or pods

Description

podmangeneratespec generates SpecGen JSON from Podman Containers and Pods. This JSON can be printed to
       a file, directly to the command line, or both.

       This JSON can then be used as input for the  Podman  API,  specifically  for  Podman  container  and  pod
       creation. Specgen is Podman's internal structure for formulating new container-related entities.

Name

       podman-generate-spec - Generate Specgen JSON based on containers or pods

Options

--compact,-c
       Print the output in a compact, one line format. This is useful when piping the data to the Podman API

   --filename,-f=filename
       Output to the given file.

   --name,-n
       Rename  the pod or container, so that it does not conflict with the existing entity. This is helpful when
       the JSON is to be used before the source pod or container is deleted.

                                                                                         podman-generate-spec(1)

Synopsis

podmangeneratespec [options] *container | pod

See Also