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

Portainer

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

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 11 months ago

Portainer isn't a file browser or text editor.

What exactly are you trying to edit?

[–] [email protected] 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