@dragonarchitect it all runs on the TrueNAS box. basically a docker container is specified by a dockerfile that tells it how to build the container instance. and as part of that dockerfile it can do things like set up a persistent storage mount for settings and such. you can also add extra mounts, e.g. on plex you'd mount your media dataset into the container so it can read it.
the problem is if you want to do any kind of tweaking beyond that.
Comments
Displaying 0 of 1 comments
Graham Sutherland / Polynomial
@dragonarchitect so let's say you installed a wordpress container. you'd also install a database container with mariadb or whatever.
but then let's say you wanted to make a manual tweak to one of the php files i nthe container. nope, fuck you, can't do that, because the container itself is ephemeral and wholly defined by the dockerfile. want to make changes? write your own dockerfile or use the unsupported compose features.
@gsuberland Oh, as far as I can forsee I don't plan on making customizations like that. I definitely already knew that about docker containers.
My concern was whether or not it is possible to customize the config in the dockerfile, as well as set up alternative hostnames for some services, like if I want to have a public facing portal for NextCloud where I can send friends who want to collab with me on any docs hosted via NextCloud. I've got a cute subdomain hack I want to use now.
by KING Calyo Delphi ;
@gsuberland @dragonarchitect But isn't that the core idea of Docker anyways? It is weird you can't set up an internal Docker network and have services be forced to use the Host network mode, but being unable to make persistent chages to files inside a Docker container that aren't mounted in from the outside without creating a custom Dockerfile and thus a custom Docker container based on another one is what Docker is all about after all 🤔
by Snep :floofHappy: ;
Mentions: @dragonarchitect@rubber.social
Likes: 0
Replies: 2
Boosts: 0