Commit graph

4 commits

Author SHA1 Message Date
Michal Arbet
b76bd4c6ef Add podman for image building
Add podman as an option to choose for container engine
for kolla-build (--engine podman)

Signed-off-by: Konstantin Yarovoy <konstantin.yarovoy@tietoevry.com>
Co-Authored-By: Michal Arbet <michal.arbet@ultimum.io>
Change-Id: I068c906df97745e397408d8c3ef6af47ee037638
2023-09-21 11:01:21 +02:00
Michal Nasiadka
c9af85c584 Transition to DockerClient
Change to use docker.DockerClient instead of the low level
docker.APIClient.

Signed-off-by: Konstantin Yarovoy <konstantin.yarovoy@tietoevry.com>
Change-Id: I88842c17d8e6ddbe89b984c7b5e0367ed356fa50
2023-08-28 13:56:30 +00:00
Michal Nasiadka
050e26ed89 Fix docker version check after docker-py>=6.0.0
docker-py reworked their version function and now it does not
return a string [1].

Example:
>>> import docker
>>> docker.version
<module 'docker.version' from '/home/cloud-user/kolla-venv/lib64/python3.9/site-packages/docker/version.py'>

[1]: cd2c35a9b6

Closes-Bug: #2018559

Change-Id: I5ec0fbfdaf18cf53a6b5bf91236d3e040daa9d7e
2023-05-05 06:20:11 +00:00
Marcin Juszkiewicz
a2854da1b3 Add a way to add other container engines
Add engine adapter module to allow additon of other container engines,
create one common EngineClient that would be called in all other
modules.

Based on patch by Konstantin Yarovoy <konstantin.yarovoy@tietoevry.com>

Change-Id: Ice6467086bd292af086322afc3fc4e869d89eefa
2022-11-08 22:03:56 +00:00