Docker creates a config.json file accessible by root only
nicofrand@desktop:/tmp/flatisfy$ docker run -it -v $FLATISFY_VOLUME:/flatisfy phyks/flatisfy sh -c "cd /home/user/app && python -m flatisfy init-config > /flatisfy/config.json"
WARNING:flatisfy.data:`functools.lru_cache` is not available on your system. Consider installing `functools32` Python module if using Python2 for better performances.
nicofrand@desktop:/tmp/flatisfy$ ls -l
total 4
-rw-r--r-- 1 root root 1084 déc. 30 12:30 config.json
This seems weird: to edit the config file I have to be root (not sure it's the same root than in the image) whereas I was not when launching the docker command. The following steps work as expected though (ie. flatisfy is able to read the file).