podman-compose
podman-compose copied to clipboard
Suport to up specific service|pod with `podman-compose -f $FILE up $MY_SERVICE`
Hi, I'm working on a project using docker-compose files and as I'm using fedora 31, podman is a default container tool.
Now I'm trying start a service with: podman-compose -f $FILE0 -f $FILE1 ... up $SPECIFIC_SERVICE
and receiving the message: NotImplementedError: starting specific services is not yet implemented
.
Two points:
- Have a roadmap to implements one?
- Exist a workaround to avoid this error and not need back to use docker-compose?
As a workaround you could use some simple shell scripts. Here's an example of one I used:
#!/bin/bash
podman run --detach \
--name devenv \
--security-opt "seccomp=unconfined" \
--tmpfs /tmp \
--tmpfs /run \
--tmpfs /run/lock \
--volume /sys/fs/cgroup:/sys/fs/cgroup:ro \
--volume '../../:/home/amigo/unity' \
--publish "127.0.0.1:2222:22" \
--publish "127.0.0.1:3000:3000" \
devenv-img
Are there any news on this?