Cog-Creators / Cog-Creators/Red-DiscordBot
[Setup] Show warning when running on docker for Win using JSON backend
- Dominant language
- Python
- Stars
- 5.7k
- Forks
- 2.5k
- Avg merge
- 6d 16h
- Merged PRs (30d)
- 1
Description
# Other bugs
#### What were you trying to do?
Run red through an archlinux container on windows 10 host using JSON as a backend using existing data from a previous installation
#### What were you expecting to happen?
It to work
#### What actually happened?
It crashed and burned with a cryptic error

#### How can we reproduce this issue?
Run the bot under archlinux/base on a windows host using a volume connected to Windows FS as the bot data path
#### Additional info
So after talking with @mikeshardmind i tried using a second docker-specific volume as the bot data path to work around Windows being Windows.
Basically the install process looked like this then:
- `docker volume create` the actual volume i'll be using
- `docker run` connecting both newely created volume and a path to a host machine (i used `-v :` to mount)
- install all the things inside the container
- install the bot and do a first launch
- shut down the bot and copy over the data from the host-connected volume into the docker-specific volume
- launch the bot, now it should work fine
Hope this info helps, sharing since Sinbad asked me to, would love to see some warning about windows issues in the docs or instead of that crashlog
Contributor guide
Assessment
This issue has not been assessed yet.