-
I'm not sure if having the Kratos # Exposing the ory home directory to simplify passing in Kratos configuration (e.g. if the file $HOME/.kratos.yaml
# exists, it will be automatically used as the configuration file). However, defining a volume in a Docker file doesn't mount the configuration file itself. That would still have to be done manually, using a flag on the command line or through a property in the compose definition, in which case isn't this line in the configuration redundant? My main thinking behind this is that it may surprise some users that files persist through container lifecycles even though this has not been explicitly been set. This feels like it goes against the deterministic nature of Docker containers, but again, I'm only considering this from my use case, and I'd be interested in hearing the opinions of others. Anyway, this is my latest step in the hunt to get the Docker configuration working. I had to change the default entrypoint and command to get the container to pickup my config, but that's for another day. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Creating the home dir for volume mounting is required to get |
Beta Was this translation helpful? Give feedback.
Creating the home dir for volume mounting is required to get
chown
to work with the non-root user set here