action #162638
closed
[manual-testing] validate opensuse nginx's image
Added by mloviska 7 months ago.
Updated 2 months ago.
Description
As a QA engineer, I would like to reach a point that we use more of our own artefacts rather than pulling images from outside.
We should validate nginx image available in registry.opensuse.org/opensuse/nginx:latest. Ideally, take notes for further automated testing and file bug reports if needed.
For a test scenario inspiration, please have a look at official docs [1] or nginx unit tests 2
[1] https://hub.docker.com/_/nginx/
[2] https://hg.nginx.org/nginx-tests/file/default
Acceptance criteria¶
1) Container can be easily started
2) Works with ipv4 and ipv6
3) Exports/publishes ports
4) Customization
- Status changed from Workable to Feedback
- Assignee set to rbranco
- Status changed from Feedback to In Progress
To make it work with IPv6:
cat >> nginx.conf <<EOF
events {
worker_connections 1024;
use epoll;
}
http {
server {
listen 80;
listen [::]:80;
location / {
root /srv/www/htdocs/;
index index.html index.htm;
}
}
}
EOF
podman run -d --name web --network podman1 -v $PWD/nginx.conf:/etc/nginx/nginx.conf -p [::]:80:80 registry.opensuse.org/opensuse/nginx
- Status changed from In Progress to Feedback
nginx (but not httpd) is maintained by BCI. Both images are not customized to be container-native but rather reflect the SLES configuration, so IPv6 is turned off by default.
- nginx image is maintained by BCI, unlike httpd: https://suse.slack.com/archives/C02AF8LALDA/p1719312099642439
- Neither image is customized to be container-native, not deviating from the respective RPM configuration.
- As a consequence of the above, neither image comes with IPv6 enabled by default.
- I find nginx easier to work with as it only needs nginx.conf mounted as a volume. httpd has a potential bug of /var/log/apache2 not being present. The only workaround is passing an empty dir as volume mounted to this directory.
@rbranco I think this ticket is resolved in the meantime?
- Priority changed from High to Normal
- Status changed from Feedback to Resolved
Also available in: Atom
PDF