Scroll to navigation

PODMAN-COMPOSE(1) General Commands Manual PODMAN-COMPOSE(1)

NAME

podman-compose - Define and run multi-container applications with Podman.

DESCRIPTION

podman-compose [OPTIONS] COMMAND [ARG...]

OPTIONS

-h, --help show this help message and exit

show version
pod creation
custom arguments to be passed to `podman pod`
Specify an alternate environment file
Specify an compose file (default: docker-compose.yml) or '-' to read from stdin.
Specify a profile to enable
Specify an alternate project name (default: directory name)
Specify an alternate path to podman (default: use location in $PATH variable)
custom global arguments to be passed to `podman`
custom arguments to be passed to `podman pull`
custom arguments to be passed to `podman push`
custom arguments to be passed to `podman build`
custom arguments to be passed to `podman inspect`
custom arguments to be passed to `podman run`
custom arguments to be passed to `podman start`
custom arguments to be passed to `podman stop`
custom arguments to be passed to `podman rm`
custom arguments to be passed to `podman volume`
Do not print ANSI control characters
Do not stop and remove existing pod & containers
No action; perform a simulation of commands

--parallel PARALLEL

Print debugging output

COMMANDS

help

show help

version

show version

wait

wait running containers to stop

systemd

create systemd unit file and register its compose stacks

later you can add a compose stack by running `podman-compose systemd -a register` then you can start/stop your stack with `systemctl --user start podman-compose@<PROJ>`

pull

pull stack images

push

push stack images

build

build stack images

up

Create and start the entire stack or some of its services

down

tear down entire stack

ps

show status of containers

run

create a container similar to a service to run a one-off command

exec

execute a command in a running container

start

start specific services

stop

stop specific services

restart

restart specific services

logs

show logs from services

config

displays the compose file

port

Prints the public port for a port binding.

pause

Pause all running containers

unpause

Unpause all running containers

kill

Kill one or more running containers with a specific signal

stats

Display percentage of CPU, memory, network I/O, block I/O and PIDs for services.

images

List images used by the created containers

AUTHOR

This manual page was written by Athos Ribeiro <athoscribeiro@gmail.com> based on the help2man output.

User Commands