Files
podman/docs/source/markdown/podman-remote.1.md
Jhon Honce 486fcd4e1e Update document formatting and packaging code
* Refactored code and Makefile to support new docs layout
* Removed some old code packaging code
* Add Readme.md to document what we're doing

Signed-off-by: Jhon Honce <jhonce@redhat.com>
Signed-off-by: baude <bbaude@redhat.com>
2019-10-31 12:31:39 -05:00

8.4 KiB

% podman-remote(1)

NAME

podman-remote - A remote CLI for Podman: A Simple management tool for pods, containers and images.

SYNOPSIS

podman-remote [options] command

DESCRIPTION

Podman (Pod Manager) is a fully featured container engine that is a simple daemonless tool. Podman provides a Docker-CLI comparable command line that eases the transition from other container engines and allows the management of pods, containers and images. Simply put: alias docker=podman. Most Podman commands can be run as a regular user, without requiring additional privileges.

Podman uses Buildah(1) internally to create container images. Both tools share image (not container) storage, hence each can use or manipulate images (but not containers) created by the other.

Podman-remote provides a local client interacting with a Podman backend node through a varlink ssh connection. In this context, a Podman node is a Linux system with Podman installed on it and the varlink service activated. Credentials for this session can be passed in using flags, enviroment variables, or in podman-remote.conf

podman [GLOBAL OPTIONS]

GLOBAL OPTIONS

--connection=name

Remote connection name

--help, -h

Print usage statement

--log-level=level

Log messages above specified level: debug, info, warn, error (default), fatal or panic

--port=integer

Use an alternative port for the ssh connections. The default port is 22

--remote-config-path=path

Alternate path for configuration file

--remote-host=ip

Remote host IP

--syslog

Output logging information to syslog as well as the console

--username=string

Username on the remote host (defaults to current username)

--version

Print the version

Exit Status

The exit code from podman gives information about why the container failed to run or why it exited. When podman commands exit with a non-zero code, the exit codes follow the chroot standard, see below:

125 if the error is with podman itself

$ podman run --foo busybox; echo $?
Error: unknown flag: --foo
  125

126 if executing a contained command and the command cannot be invoked

$ podman run busybox /etc; echo $?
Error: container_linux.go:346: starting container process caused "exec: \"/etc\": permission denied": OCI runtime error
  126

127 if executing a contained command and the command cannot be found podman run busybox foo; echo? Error: container_linux.go:346: starting container process caused "exec: "foo": executable file not found in $PATH": OCI runtime error 127

Exit code of contained command otherwise

$ podman run busybox /bin/sh -c 'exit 3'
# 3

COMMANDS

Command Description
podman-attach(1) Attach to a running container.
podman-build(1) Build a container image using a Dockerfile.
podman-commit(1) Create new image based on the changed container.
podman-container(1) Manage containers.
podman-cp(1) Copy files/folders between a container and the local filesystem.
podman-create(1) Create a new container.
podman-diff(1) Inspect changes on a container or image's filesystem.
podman-events(1) Monitor Podman events
podman-export(1) Export a container's filesystem contents as a tar archive.
podman-generate(1) Generate structured data based for a containers and pods.
podman-healthcheck(1) Manage healthchecks for containers
podman-history(1) Show the history of an image.
podman-image(1) Manage images.
podman-images(1) List images in local storage.
podman-import(1) Import a tarball and save it as a filesystem image.
podman-info(1) Displays Podman related system information.
podman-init(1) Initialize a container
podman-inspect(1) Display a container or image's configuration.
podman-kill(1) Kill the main process in one or more containers.
podman-load(1) Load an image from a container image archive into container storage.
podman-logs(1) Display the logs of a container.
podman-pause(1) Pause one or more containers.
podman-pod(1) Management tool for groups of containers, called pods.
podman-port(1) List port mappings for a container.
podman-ps(1) Prints out information about containers.
podman-pull(1) Pull an image from a registry.
podman-push(1) Push an image from local storage to elsewhere.
podman-restart(1) Restart one or more containers.
podman-rm(1) Remove one or more containers.
podman-rmi(1) Removes one or more locally stored images.
podman-run(1) Run a command in a new container.
podman-save(1) Save an image to a container archive.
podman-start(1) Start one or more containers.
podman-stop(1) Stop one or more running containers.
podman-system(1) Manage podman.
podman-tag(1) Add an additional name to a local image.
podman-top(1) Display the running processes of a container.
podman-unpause(1) Unpause one or more containers.
podman-version(1) Display the Podman version information.
podman-volume(1) Manage Volumes.

FILES

podman-remote.conf (~/.config/containers/podman-remote.conf)

The podman-remote.conf file is the default configuration file for the podman
remote client.  It is in the TOML format.  It is primarily used to keep track
of the user's remote connections.

SEE ALSO

podman-remote.conf(5)