#fs driver, I can't find where it is saved in docker. Where does the product get cache in production.
2 messages · Page 1 of 1 (latest)
With docker, you need to volume mount part of the fs so it is "shared" between the container and the host computer. With what command / setup are you running the container?
What you can do is run the container and attach a terminal to it, then look to see if you can find the .data directory at all. If not then maybe nuxt failed to create the directory for you, otherwise if it is present in the container but not on your host machine then the volume binding is at fault.
Docs for docker volumes (-v): https://docs.docker.com/storage/volumes/#choose-the--v-or---mount-flag
For launching a shell inside a running container, see https://docs.docker.com/reference/cli/docker/container/exec/ (just read that there is a new command docker debug for launching into slim containers easily)
Hope this helps!
Introducing Docker Debug
To easily get a debug shell into any container, use docker debug. Docker Debug is a replacement for debugging with docker exec. With it, you can get a shell into any container or image, even slim ones, without modifications. Plus, you can bring along your favorite debugging tools in its customizable toolbox.
Explore Dock...