Move Binary installation to docker

I installed NocoDB on Windows using the binary quite a long time ago, and kept the install up to date. It’s been in full use for a small retail business.

I recently noticed that the guidance is to use Docker for all production installs.

Is there any way of moving everything (users, tables, views) in the binary installation into a Docker installation (as an additional condition: painlessly for somebody who is, generally speaking, a rookie?)

To ensure everything works seamlessly, you just need to use the same environment variables. If you don’t specify the NC_DB environment variable, NocoDB defaults to using SQLite. By default, the SQLite file is created in the directory where the executable is run. You can simply copy this file and mount it as a volume while creating container, allowing NocoDB to pick it up and continue from where it left off.

If you need more specific help, please provide additional details:

Which database are you using?

Are you using any additional environment variables?

1 Like