Skip to content

Kubernetes: There seems to be some sort of writing protection on the docker image #419

Open
@HakunMatat4

Description

@HakunMatat4

Image: phpmyadmin:5.2.1

I am playing with phpmyadmin and mariadb on my homelab kubernetes cluster, and although it all works, the docker images doesn't seem to accept environment variables:

image

But none of those values are being passed over, in fact TZ is set as TZ=UTC

MariaDB pod which is set just like above:

image

printenv does show those env and I can mysql -u user -p and it all works

MARIADB_USER
MARIADB_PASSWORD
MARIADB_ROOT_PASSWORD

I can access it from phpmyadmin just fine but something isn't 100% right.

image

I tried to mount its /var/www/html as persistence volume, it does not accept that either, I mean, the volume is mounted empty so why I think there is some writing restriction on this image.
mariadb does mount its volume, I have deleted it dozen times playing around and the data stays as expected.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions