Published by Graham Sutherland / Polynomial

published

Graham Sutherland / Polynomial's Post

In Reply To: this post

@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.


Likes: 0
Boosts: 0
Hashtags:
Mentions: @dragonarchitect@rubber.social

Comments

Displaying 0 of 2 comments

KING Calyo Delphi

In response to this post

@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.


Mentions: @gsuberland@chaos.social


Likes: 0

Replies: 0

Boosts: 0

Snep :floofHappy:

In response to this post

@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 🤔


@snep @dragonarchitect yes and it's shit for this kind of use case

by Graham Sutherland / Polynomial ;

Mentions: @gsuberland@chaos.social @dragonarchitect@rubber.social


Likes: 0

Replies: 1

Boosts: 0