-
Notifications
You must be signed in to change notification settings - Fork 53
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
Feature: add Podman support #171
Comments
Hi, BTW, Podman is not officially supported yet. |
From the last dev branch just run:
Then connect to the port |
Hi Sispheor.. Thanks for your quick reply. Unfortunately, podman is the only officially supported solution under RHEL 8. :-( I have run "podman-compose up --build -d" to no avail. |
Do you have another host with docker-compose available so you can see if you have the same behavior? |
I installed docker according to this link: It works but I encountered another problem: Successfully tagged squest:latest Running |
On our side the prod server for Squest is a Centos8 with Docker and Docker compose. Please pull the last dev we've fixed an issue with image upload on service creation. |
Thanks for the quick fix.. It seems to work now with docker.. |
Perfect. Thanks for testing Squest. |
Just an update. The issue first reported is an known issue with selinux and ngnix:alpine. By disabling selinux with The last branch that runs and that squest is accessible is d84254d. The last usable branch without any issues is af179cd. All other branches after that are not accessible but running fine according to podman. Could you please guide me how to debug this issue? |
You can try by adding E.g:
|
It is most certainly an selinux issue: type=AVC msg=audit(1632311788.046:855): avc: denied { associate } for pid=45869 comm="nginx" name="2" scontext=system_u:object_r:container_t:s0:c82,c904 tcontext=system_u:object_r:proc_t:s0 tclass=filesystem permissive=1 |
Description
Podman seems to build Squest OK but it starts in degraded state due to nginix exiting with an error.
Versions
Nginix error
$ podman ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8a4948e79642 k8s.gcr.io/pause:3.5 44 hours ago Up 12 minutes ago 0.0.0.0:8082->80/tcp, 0.0.0.0:3306->3306/tcp, 0.0.0.0:5672->5672/tcp, 0.0.0.0:15672->15672/tcp dd6ffe87837a-infra
9c38d65b3ad5 docker.io/library/mariadb:latest mysqld 44 hours ago Up 12 minutes ago 0.0.0.0:8082->80/tcp, 0.0.0.0:3306->3306/tcp, 0.0.0.0:5672->5672/tcp, 0.0.0.0:15672->15672/tcp squest_db_1
1116326b0d42 docker.io/phpmyadmin/phpmyadmin:5.1.0 apache2-foregroun... 44 hours ago Up 12 minutes ago 0.0.0.0:8082->80/tcp, 0.0.0.0:3306->3306/tcp, 0.0.0.0:5672->5672/tcp, 0.0.0.0:15672->15672/tcp squest_phpmyadmin_1
55f3847f2a55 docker.io/library/rabbitmq:3-management rabbitmq-server 44 hours ago Up 12 minutes ago 0.0.0.0:8082->80/tcp, 0.0.0.0:3306->3306/tcp, 0.0.0.0:5672->5672/tcp, 0.0.0.0:15672->15672/tcp squest_rabbitmq_1
4a48889d8c5e localhost/squest:latest bash -c /wait && ... 44 hours ago Up 12 minutes ago 0.0.0.0:8082->80/tcp, 0.0.0.0:3306->3306/tcp, 0.0.0.0:5672->5672/tcp, 0.0.0.0:15672->15672/tcp squest_celery-worker_1
b090ee07fe7f localhost/squest:latest bash -c /wait && ... 44 hours ago Up 12 minutes ago 0.0.0.0:8082->80/tcp, 0.0.0.0:3306->3306/tcp, 0.0.0.0:5672->5672/tcp, 0.0.0.0:15672->15672/tcp squest_celery-beat_1
96e485d9977d localhost/squest:latest /app/docker/entry... 44 hours ago Up 12 minutes ago 0.0.0.0:8082->80/tcp, 0.0.0.0:3306->3306/tcp, 0.0.0.0:5672->5672/tcp, 0.0.0.0:15672->15672/tcp squest_django_1
8dd0f0df26e3 docker.io/library/nginx:alpine nginx -c /etc/ngi... 44 hours ago Exited (1) 12 minutes ago 0.0.0.0:8082->80/tcp, 0.0.0.0:3306->3306/tcp, 0.0.0.0:5672->5672/tcp, 0.0.0.0:15672->15672/tcp squest_nginx_1
$ podman logs squest_nginx_1
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2021/09/18 10:48:19 [emerg] 1#1: open() "/etc/nginx/squest/nginx.conf" failed (13: Permission denied)
nginx: [emerg] open() "/etc/nginx/squest/nginx.conf" failed (13: Permission denied)
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
The text was updated successfully, but these errors were encountered: