Podman-compose: Difference between revisions
From wikinotes
(→Usage) |
(→Usage) |
||
Line 34: | Line 34: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
sudo podman-compose up --detach -- | sudo podman-compose up --detach --no-recreate | ||
</syntaxhighlight> | </syntaxhighlight> | ||
</blockquote><!-- Usage --> | </blockquote><!-- Usage --> |
Revision as of 18:31, 24 September 2023
podman s variation of docker-compose.
Using a base-image, configure docker-run via a yaml file.
You may also use it to start multiple related services at once.
Documentation
Usage
# ${PROJECT}/compose.yml version: '3' services: mediawiki: image: mediawiki restart: always ports: - 8080:80 volumes: - config/images:/var/www/html/images - config/LocalSettings.php:/var/www/html/LocalSettings.phpsudo podman-compose up --detach --no-recreate