Blog: 2023-08-13: Difference between revisions

From razwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:


Github actions for weave are stuck in queue, no surprise for a free service. Would like to run them locally, perhaps using <code>act</code>: https://github.com/nektos/act
Github actions for weave are stuck in queue, no surprise for a free service. Would like to run them locally, perhaps using <code>act</code>: https://github.com/nektos/act


Should incorporate this into the readme somehow, but to run the python server from a podman container the command is:

<code>docker run -i -t -p 5000:5000 (last-image-built) pipenv run gunicorn server:app -b :5000</code>

Revision as of 22:42, 12 August 2023

Trying to get asdf working in docker, this example is useful to get rid of all the hacks:

https://github.com/asdf-community/asdf-ubuntu

Also trying to get podman to run faster, podman info gives storage of vfs. Apparently overlayfs is faster, so I set it like so:

functions $ cat ~/.config/containers/storage.conf
[storage]
  driver = "overlay"

And then I had to podman system reset.

Wow with this change using cached images is instantaneous! Hooray!


Also I'm passing --network host. Not sure if that's doing anything.

Github actions for weave are stuck in queue, no surprise for a free service. Would like to run them locally, perhaps using act: https://github.com/nektos/act


Should incorporate this into the readme somehow, but to run the python server from a podman container the command is:

docker run -i -t -p 5000:5000 (last-image-built) pipenv run gunicorn server:app -b :5000