Aktionen
Podman » Historie » Revision 1
Revision 1/9
| Weiter »
Jeremias Keihsler, 23.09.2021 10:11
Podman¶
install¶
yum install podman
yum install podman-compose
create container¶
see also:
https://www.redhat.com/sysadmin/wordpress-container
https://rancher.com/learning-paths/how-to-build-and-run-your-own-container-images/
https://docs.podman.io/en/latest/markdown/podman-build.1.html
create ~/container.user/wordpress.user/dockerfile
FROM docker.io/rockylinux/rockylinux MAINTAINER jke <j@keihsler.com> RUN dnf module enable -y php:7.4 RUN yum install -y mariadb-server mariadb php php-apcu php-intl php-mbstring php-xml php-json php-mysqlnd crontabs cronie iputils net-tools;yum clean all RUN systemctl enable mariadb RUN systemctl enable httpd RUN systemctl disable systemd-update-utmp.service ENTRYPOINT ["/sbin/init"] CMD ["/sbin/init"]
cd ~/container.user/wordpress.user/
podman build -t wordpress_user .
Von Jeremias Keihsler vor etwa 3 Jahren aktualisiert · 1 Revisionen