ThirteenTwoConsulting / PenpotPodman

2 stars 1 forks source link

what is this....better explanation please #2

Open thefonso opened 1 year ago

thefonso commented 1 year ago
  1. what is PoC?
  2. What / How should we use this code? I have podman desktop installed when I download this repo and run ./run.sh it does nothing. I get no working penpot. I have no idea what this code is supposed to be doing. I assumed it was a replacement for the manage.sh script found in the official Penpot docker instructions? Confused.
eric-hansen commented 1 year ago

what is PoC?

PoC is short for "proof of concept". When the repo was created, there wasn't a guarantee it would work without other setup needed.

So basically PoC = WIP = alpha/beta

What / How should we use this code?

You just need to run ./run.sh to start it. To shut down the pod you can do it manually or run ./run.sh stop.

I have podman desktop installed when I download this repo and run ./run.sh it does nothing. I get no working penpot. I have no idea what this code is supposed to be doing.

I don't use a GUI for podman, just the terminal. I can't verify how/if it works with a GUI as the script is intended to set everything up.

After running the script, what do the following command show:

Also, what OS are you using? This requires Linux, Mac or WSL (untested on Mac & WSL but they typically run scripts fine).

I assumed it was a replacement for the manage.sh script found in the official Penpot docker instructions?

Never saw this script before as I discovered Penpot post-migration to Podman. So it's safe to say it's definitely not a 1:1 replacement.

I will work on updating the README to address some of these concerns. However, to better help I need you to provide more info.

thefonso commented 1 year ago

Thank you for the response kind soul. I am on Ubuntu 22.04.

output from ./run.sh

$ ./run.sh 
Creating Penpot network if it does not exist...
/home/unclefonso/.config/cni/net.d/penpot.conflist
Error: `podman pod create` takes no arguments
WARN[0000] Error validating CNI config file /home/unclefonso/.config/cni/net.d/penpot.conflist: [plugin bridge does not support config version "1.0.0" plugin portmap does not support config version "1.0.0" plugin firewall does not support config version "1.0.0" plugin tuning does not support config version "1.0.0"] 
Error: short-name "sj26/mailcatcher:latest" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf"
WARN[0000] Error validating CNI config file /home/unclefonso/.config/cni/net.d/penpot.conflist: [plugin bridge does not support config version "1.0.0" plugin portmap does not support config version "1.0.0" plugin firewall does not support config version "1.0.0" plugin tuning does not support config version "1.0.0"] 
Error: short-name "redis:7" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf"
WARN[0000] Error validating CNI config file /home/unclefonso/.config/cni/net.d/penpot.conflist: [plugin bridge does not support config version "1.0.0" plugin portmap does not support config version "1.0.0" plugin firewall does not support config version "1.0.0" plugin tuning does not support config version "1.0.0"] 
Error: short-name "postgres:15" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf"
WARN[0000] Error validating CNI config file /home/unclefonso/.config/cni/net.d/penpot.conflist: [plugin bridge does not support config version "1.0.0" plugin portmap does not support config version "1.0.0" plugin firewall does not support config version "1.0.0" plugin tuning does not support config version "1.0.0"] 
Error: short-name "penpotapp/exporter:latest" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf"
WARN[0000] Error validating CNI config file /home/unclefonso/.config/cni/net.d/penpot.conflist: [plugin bridge does not support config version "1.0.0" plugin portmap does not support config version "1.0.0" plugin firewall does not support config version "1.0.0" plugin tuning does not support config version "1.0.0"] 
Error: short-name "penpotapp/backend:latest" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf"
WARN[0000] Error validating CNI config file /home/unclefonso/.config/cni/net.d/penpot.conflist: [plugin bridge does not support config version "1.0.0" plugin portmap does not support config version "1.0.0" plugin firewall does not support config version "1.0.0" plugin tuning does not support config version "1.0.0"] 
Error: short-name "penpotapp/frontend:latest" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf"
mage@pop-os ~/myapps/penpot/PenpotPodman on main

other commands as requested:

$ podman network ls
WARN[0000] Error validating CNI config file /home/unclefonso/.config/cni/net.d/penpot.conflist: [plugin bridge does not support config version "1.0.0" plugin portmap does not support config version "1.0.0" plugin firewall does not support config version "1.0.0" plugin tuning does not support config version "1.0.0"] 
NETWORK ID    NAME           VERSION     PLUGINS
(redacted ) podman         0.4.0       bridge,portmap,firewall,tuning
(redacted)  penpot         1.0.0       bridge,portmap,firewall,tuning,dnsname
(redacted)  penpot_penpot  0.4.0       bridge,portmap,firewall,tuning,dnsname
mage@pop-os ~/myapps/penpot/PenpotPodman on main
$ podman pod logs penpot
WARN[0000] Error validating CNI config file /home/unclefonso/.config/cni/net.d/penpot.conflist: [plugin bridge does not support config version "1.0.0" plugin portmap does not support config version "1.0.0" plugin firewall does not support config version "1.0.0" plugin tuning does not support config version "1.0.0"] 
Error: no pod with name or ID penpot found: no such pod
mage@pop-os ~/myapps/penpot/PenpotPodman on main
$ 

This is all the output I get.

eric-hansen commented 1 year ago

Can you do a complete uninstall of podman and then only install the cli?

Seems like there's an issue on your system with podman, and I use Debian not Pop.

Also what version of podman gets installed? Debian installs 4.3 which is relatively new.

But based on what you provided there's an issue with your podman set up.

Also you will need to add docker.io to your unqualified setting in /etc/comtainers/registries.conf (or preferably you have that file in your home's .config folder)

On Thu, Aug 17, 2023, 7:05 PM thefonso @.***> wrote:

Thank you for the response kind soul. I am on Ubuntu 22.04.

output from ./run.sh

$ ./run.sh Creating Penpot network if it does not exist... /home/unclefonso/.config/cni/net.d/penpot.conflist Error: podman pod create takes no arguments WARN[0000] Error validating CNI config file /home/unclefonso/.config/cni/net.d/penpot.conflist: [plugin bridge does not support config version "1.0.0" plugin portmap does not support config version "1.0.0" plugin firewall does not support config version "1.0.0" plugin tuning does not support config version "1.0.0"] Error: short-name "sj26/mailcatcher:latest" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf" WARN[0000] Error validating CNI config file /home/unclefonso/.config/cni/net.d/penpot.conflist: [plugin bridge does not support config version "1.0.0" plugin portmap does not support config version "1.0.0" plugin firewall does not support config version "1.0.0" plugin tuning does not support config version "1.0.0"] Error: short-name "redis:7" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf" WARN[0000] Error validating CNI config file /home/unclefonso/.config/cni/net.d/penpot.conflist: [plugin bridge does not support config version "1.0.0" plugin portmap does not support config version "1.0.0" plugin firewall does not support config version "1.0.0" plugin tuning does not support config version "1.0.0"] Error: short-name "postgres:15" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf" WARN[0000] Error validating CNI config file /home/unclefonso/.config/cni/net.d/penpot.conflist: [plugin bridge does not support config version "1.0.0" plugin portmap does not support config version "1.0.0" plugin firewall does not support config version "1.0.0" plugin tuning does not support config version "1.0.0"] Error: short-name "penpotapp/exporter:latest" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf" WARN[0000] Error validating CNI config file /home/unclefonso/.config/cni/net.d/penpot.conflist: [plugin bridge does not support config version "1.0.0" plugin portmap does not support config version "1.0.0" plugin firewall does not support config version "1.0.0" plugin tuning does not support config version "1.0.0"] Error: short-name "penpotapp/backend:latest" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf" WARN[0000] Error validating CNI config file /home/unclefonso/.config/cni/net.d/penpot.conflist: [plugin bridge does not support config version "1.0.0" plugin portmap does not support config version "1.0.0" plugin firewall does not support config version "1.0.0" plugin tuning does not support config version "1.0.0"] Error: short-name "penpotapp/frontend:latest" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf" @.*** ~/myapps/penpot/PenpotPodman on main

other commands as requested:

$ podman network ls WARN[0000] Error validating CNI config file /home/unclefonso/.config/cni/net.d/penpot.conflist: [plugin bridge does not support config version "1.0.0" plugin portmap does not support config version "1.0.0" plugin firewall does not support config version "1.0.0" plugin tuning does not support config version "1.0.0"] NETWORK ID NAME VERSION PLUGINS (redacted ) podman 0.4.0 bridge,portmap,firewall,tuning (redacted) penpot 1.0.0 bridge,portmap,firewall,tuning,dnsname (redacted) penpot_penpot 0.4.0 bridge,portmap,firewall,tuning,dnsname @. ~/myapps/penpot/PenpotPodman on main $ podman pod logs penpot WARN[0000] Error validating CNI config file /home/unclefonso/.config/cni/net.d/penpot.conflist: [plugin bridge does not support config version "1.0.0" plugin portmap does not support config version "1.0.0" plugin firewall does not support config version "1.0.0" plugin tuning does not support config version "1.0.0"] Error: no pod with name or ID penpot found: no such pod @. ~/myapps/penpot/PenpotPodman on main $

This is all the output I get.

— Reply to this email directly, view it on GitHub https://github.com/ThirteenTwoConsulting/PenpotPodman/issues/2#issuecomment-1683089166, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB7DKZ62T3YS6GAMHRXC5C3XV2PSDANCNFSM6AAAAAA3UIWOMA . You are receiving this because you were assigned.Message ID: @.***>