containerize #20

Merged
calm-steam merged 4 commits from :containerize into master 2025-03-05 16:16:04 +01:00
Member

things that could be interesting:

  • running different containers for django and app, modularizing developing/testing environment
  • synchronizing the host directory and appropriate libraries with the container to develop directly in the virtual machine

things to consider when running podman:

  • installing nice tty in host to connect to container
  • issues with cgroup
  • issues with sd-bus call: I solved it by installing dbus-user-session in my Debian distribution

any other suggestions and/or improvements?

HOW TO TEST

podman build . -t supervisor-image
podman run -it --network=host localhost/supervisor-image sh

Use manage.py as always from here.

things that could be interesting: - running different containers for django and app, modularizing developing/testing environment - synchronizing the host directory and appropriate libraries with the container to develop directly in the virtual machine things to consider when running podman: - installing nice tty in host to connect to container - issues with [cgroup](https://github.com/containers/crun/issues/704) - issues with sd-bus call: I solved it by installing `dbus-user-session` in my Debian distribution any other suggestions and/or improvements? HOW TO TEST ``` podman build . -t supervisor-image podman run -it --network=host localhost/supervisor-image sh ``` Use manage.py as always from here.
calm-steam added 7 commits 2025-02-18 20:45:10 +01:00
calm-steam added 1 commit 2025-02-18 20:49:47 +01:00
Owner

Cool stuff will try it out.

perhaps using git commit --amend would lead to less commits for the readmes. That’s what I’ve been usually doing. Earlier, i used rebase interactive to fixup (I think?) in these situations. Not sure whats the best method.

Cool stuff will try it out. perhaps using `git commit --amend` would lead to less commits for the readmes. That's what I've been usually doing. Earlier, i used rebase interactive to fixup (I think?) in these situations. Not sure whats the best method.
calm-steam force-pushed containerize from 0f56dd5d2b to bfac5a22eb 2025-02-19 05:59:45 +01:00 Compare
Author
Member

I squashed all the “fix readme” commits into “modify readme”. This tool does the job well: https://stackedit.io/

I squashed all the "fix readme" commits into "modify readme". This tool does the job well: https://stackedit.io/
calm-steam added 1 commit 2025-02-23 10:08:41 +01:00
calm-steam changed title from WIP: containerize to containerize 2025-02-23 10:10:36 +01:00
calm-steam changed title from containerize to WIP: containerize 2025-02-23 10:14:27 +01:00
calm-steam force-pushed containerize from 40bec4ffee to 0b622ce3ea 2025-02-23 10:16:13 +01:00 Compare
calm-steam changed title from WIP: containerize to containerize 2025-02-23 10:16:52 +01:00
Owner

So the runc/crunc issue is resolved, then?

So the `runc`/`crunc` issue is resolved, then?
Owner

or was that related to running the containers via the django application rather than natively

or was that related to running the containers via the django application rather than natively
Author
Member

So the runc/crunc issue is resolved, then?

The “things to consider when running podman:” are just issues I had when trying to run podman on my OS (Debian-based), in case you also encounter them. I think the cgroup bug is just when running with sudo, which is actually not necessary nor recommended.

or was that related to running the containers via the django application rather than natively

I haven’t touched the containers running in the application, this is just an environment to test the application as a whole.

> So the `runc`/`crunc` issue is resolved, then? The "things to consider when running podman:" are just issues I had when trying to run podman on my OS (Debian-based), in case you also encounter them. I think the `cgroup` bug is just when running with sudo, which is actually not necessary nor recommended. > or was that related to running the containers via the django application rather than natively I haven't touched the containers running in the application, this is just an environment to test the application as a whole.
calm-steam merged commit d6eb2a1b25 into master 2025-03-05 16:16:04 +01:00
Sign in to join this conversation.
No description provided.