Hello!
I am trying Tutor with Podman in a virtualenv under an unprivileged Linux account, like described in https://docs.tutor.overhang.io/podman.html, but it is failing to execute tutor local quickstart
because podman-compose lacks some docker-compose commands like “rm” that tutor uses.
podman-compose has {help,version,pull,push,build,up,down,ps,run,start,stop,restart,logs}
This is the way I have tried so far:
# su - gbcm
$ mkdir ~/virtualenv
$ virtualenv ~/virtualenv/valdirverona_edx
$ cd ~/virtualenv/valdirverona_edx/bin
$ source activate
$ python --version
Python 3.6.8
$ pip3 install tutor-openedx
$ pip3 install podman-compose
$ ln -s $(which podman-compose) $(dirname $(which podman-compose))/docker-compose
$ pip3 list | egrep 'podman-compose|tutor'
podman-compose 0.1.7.dev0
tutor-openedx 10.2.1
$ tutor local quickstart
....
Configuration saved to /containers/home/gbcm/.local/share/tutor/config.yml
================================================
Updating the current environment
================================================
Environment generated in /containers/home/gbcm/.local/share/tutor/env
==============================================
Stopping any existing platform
==============================================
docker-compose -f /containers/home/gbcm/.local/share/tutor/env/local/docker-compose.yml -f /containers/home/gbcm/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local rm --stop --force
usage: docker-compose [-h] [-f file] [-p PROJECT_NAME]
[--podman-path PODMAN_PATH] [--no-ansi] [--no-cleanup]
[--dry-run]
[-t {1pod,1podfw,hostnet,cntnet,publishall,identity}]
{help,version,pull,push,build,up,down,ps,run,start,stop,restart,logs}
...
docker-compose: error: argument command: invalid choice: 'rm' (choose from 'help', 'version', 'pull', 'push', 'build', 'up', 'down', 'ps', 'run', 'start', 'stop', 'restart', 'logs')
Error: Command failed with status 2: docker-compose -f /containers/home/gbcm/.local/share/tutor/env/local/docker-compose.yml -f /containers/home/gbcm/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local rm --stop --force
Am I missing something?
Thanks and Kind Regards,
Guilherme Monteiro