puid-pgid.adoc 775 B

12345678910111213141516
  1. [#no-puid-pgid]
  2. = PUID and PGID support
  3. The OliveTin container image does not use the PUID and PGID convention to specify which user the container should run as - this is a convention that was popularized by linuxserver.io, because their container images use supervisord. Instead, simply use the `--user` argument when defining the container, to change the user OliveTin runs as.
  4. * link:https://docs.linuxserver.io/general/understanding-puid-and-pgid[LSIO documentation for PUID and PGID, that says that `--user` is the same thing]
  5. An example is shown below;
  6. [source,shell]
  7. .Using --user
  8. ----
  9. user@host: docker create --name olivetin -p 1337:1337 -v /etc/OliveTin/:/config:ro docker.io/jamesread/olivetin --user container:container
  10. user@host: docker start olivetin
  11. ----