Improve container support in tox.ini 42/98242/2
authorguillaume.lambert <guillaume.lambert@orange.com>
Fri, 3 Sep 2021 08:23:34 +0000 (10:23 +0200)
committerVachhani, Shweta (sv111y) <sv111y@att.com>
Sun, 31 Oct 2021 13:48:03 +0000 (09:48 -0400)
commitd5fd549613e1b913b4e577be6a0ff97d6088c9b6
tree0ab01a0f0e4620b9186a936a3b85e9b1fa56954d
parentc19b7a47603ae62e7e0d64f24afcdcb614c9e57e
Improve container support in tox.ini

- modify tox.ini to use dedicated scripts that can detect a local podman
  installation and use it instead of docker.
- replace nbiotifications docker-compose YAML file by a standalone
  container directly runnable with docker or podman.

Podman.io is a rootless and serverless alternative to Docker.io.
It avoids using sudo in many cases, what is a good thing.
It is now prefered to Docker.io by many linux distributions.

https://podman.io/
https://access.redhat.com/solutions/3696691
https://thesynack.com/posts/docker-compose-podman/
https://martinheinz.dev/blog/35

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I593568b2e17bebe784eff7b3413d0d5b829f2ade
tests/dockercmd.sh [new file with mode: 0755]
tests/nbinotifications/docker-compose.yml [deleted file]
tox.ini