Skip to content

How to persist plugins and similar stuff when using Docker? #205

@simonszu

Description

@simonszu

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions