this post was submitted on 22 Nov 2023
1 points (100.0% liked)

Portainer

20 readers
0 users here now

Portainer Community Edition is a lightweight service delivery platform for containerized applications that can be used to manage Docker, Swarm, Kubernetes and ACI environments.

founded 1 year ago
MODERATORS
 

Maybe crazy simple, but i can't seem to find where i can edit a file from the host system?

i can go into a console inside the container, but i would like to edit from the host system, where is it located? my google seems to be not strong enough...

thanks.

you are viewing a single comment's thread
view the rest of the comments
[–] ComputersWantMeDead@alien.top 1 points 11 months ago

If you really need to edit a file with a container, then you first should map that directory/file to the host system

You'll potentially break the container if that file/container doesn't auto-generate on first run, and it's not recommended if you don't know what your are doing - as host-mapped files can become incompatible with container updates