How to persist plugins and similar stuff when using Docker?
See original GitHub issueJust a small question:
The README explains that one has to mount /root/project as a host directory (or volume) to have a place to save their projects. Now i’d like to know where in the container the installed plugins, themes and VS Code settings are stored, so that i could mount it to a host directory (or volume) as well, to preserve installed plugins during container recreations.
I assume this is where -d, --data-dir initially points to, but where is that? If i just specify another folder and mount it, is code able to start up if this directory doesn’t exist? If i mount an initally empty host directory to this path, will code be able to start up, not having problems with the folder’s emptiness?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to persist plugins and similar stuff when using Docker?
So, you can do use similar command(e.g.: I use /home/centos/yancy to save data. Your code or workspace will in your current directory, ...
Read more >Persistent Storage for Containers: Stateful Apps in Docker
Persistent Data – Your container uses a volume, can move around different nodes ... One of the nice things about using the Docker...
Read more >Use Docker Engine plugins
Plugins extend Docker's functionality. They come in specific types. For example, a volume plugin might enable Docker volumes to persist across multiple ...
Read more >Managing Persistence for Docker Containers - The New Stack
Volume Plugins. Although host-based persistence is a valuable addition to Docker for specific use cases, it has the significant drawback of ...
Read more >Finally! An Open Solution to Solve for Persistent Storage
From driver interfaces to managed plugins and the store, code is continually being updated to adhere with new attempts at solving "the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

We’ll be fixing this so binaries extract to a temporary location. Then you’ll be able to share the data-dir
Everything now extracts to a tmp dir, mounting extensions should work! 🎊