Hello All, Does anybody know why `docker/sdk conso...
# docker
r
Hello All, Does anybody know why
docker/sdk console data:import company
report shows that 10 entities was imported in case I have
data/import/company.csv
file empty? The CSV contained some rows before, but not anymore. Is there any cache to flush?
r
Hi, is this file also empty inside CLI container? It may be docker synchronisation issues between host and container, after some changes on host.
r
Let me check that
You're probably right. I forced containers down and up again. Now all looks good.
👍 1
Thanks
r
no problem 🙂
r
Is there a way to fix the synchronization issue?
It seems that files get synced when containers are recreated but does not stay in sync
r
Do you have mac? and if yes do you use docker-sync or mutagen?
r
I'm using docker on WSL2 (win10)
r
I can’t help much with windows installation 1) Did you executed this command? Before starting containers
Copy code
docker/sdk bootstrap deploy.dev.yml
https://documentation.spryker.com/docs/installing-in-development-mode If not it probably take opache settings for not dev environment, this opcache configuration will not check if the file was modified. 2) Change something in company.csv file on your host system. After it open cli container and check if file not changed inside it:
Copy code
docker/sdk cli cat -n data/import/company.csv
If the file is old and not updated, than maybe someone else with spryker docker experience on windows can help in this thread.
r
Thanks!