kiloutyg / docauposte2

Version perso de l'app de PO
Other
3 stars 1 forks source link

docker is dead long live podman-docker #181

Open kiloutyg opened 8 months ago

kiloutyg commented 2 weeks ago

After more test it seems that basically networks and right management will need to be thoroughly experimented on and modified.

kiloutyg commented 2 weeks ago

The containers are not staying alive, always getting a sigwich at some time for some reasons.

kiloutyg commented 2 weeks ago

The issue about right management is not entirely dealt with, the entrypoint still does not have the rights to chown or chmod db, node_module and vendor (maybe some others i don't remember) files.

The in-between containers networks management seems a bit different than vanilla docker, mainly around ip affectation, podman seems to affect the IP at the building stage and at the mounting ones, and both use the same parameter present in the compose file which create a conflict, the address being already affected at the building stage. I need to either change the strategy to fully build locally or find how to affect the address correctly at the good stage.

Both of the previous issues are probably finding their sources in the rootless nature of podman.

kiloutyg commented 1 week ago

MariaDB docker-entrypoint looks to chown local files which cannot be done. I think i managed to launch the containers, but traefik still show a bad gateway message, which might be coherent since i had to delete the docauposte2's traefik network address, which is the gateway for this specific network.

kiloutyg commented 1 week ago

Ok, taken by despair, i tried to install docker, and it worked ! So we will probably just use it and docker compose instead of all the podman stuff.

Podman still might be interesting to use and redev the containers on it, but it'll take some time.

kiloutyg commented 1 week ago

This is being put in standby for now