Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
thefonso opened this issue Aug 17, 2023 · 3 comments
Open

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

thefonso opened this issue Aug 17, 2023 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@thefonso
Copy link

  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
Copy link
Contributor

eric-hansen commented Aug 17, 2023

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:

  • podman ps -a
  • podman network ls
  • podman pod logs penpot

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.

@eric-hansen eric-hansen added documentation Improvements or additions to documentation question Further information is requested labels Aug 17, 2023
@eric-hansen eric-hansen self-assigned this Aug 17, 2023
@thefonso
Copy link
Author

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
Copy link
Contributor

eric-hansen commented Aug 17, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants