CS running in docker - how to access files of a different container #5924
Answered
by
code-asher
IonasElate
asked this question in
Q&A
Replies: 3 comments 4 replies
-
out of my wheelhouse but maybe @code-asher or @bpmct can answer? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Your OpenHAB container is probably using a volume to persist those
configuration files, right? The only thing that comes to my mind
is to mount that same volume into the code-server container so it
can read and edit those files.
Ideally we would implement #1315
to support code-server editing into other Docker containers but
that is not scheduled to be worked on at the moment.
If you do not need browser support you could use native VS Code
with the remote container plugin.
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
IonasElate
-
it worked like charm :-) just mounted the local folder to a directory inside the cs container. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
i know the purpose of docker is having isolated services.
I cannot figure out how to access files of a different container (specifically i try to edit my openHAB files) wit code server.
i use the standard config of CS in docker:
can you push me in the right direction?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions