question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to persist plugins and similar stuff when using Docker?

See original GitHub issue

Just 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:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
kylecarbscommented, Mar 12, 2019

We’ll be fixing this so binaries extract to a temporary location. Then you’ll be able to share the data-dir

0reactions
kylecarbscommented, Apr 24, 2019

Everything now extracts to a tmp dir, mounting extensions should work! 🎊

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found