-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where is the docker container data mounted to on my system? #382
Comments
Hi @jacobhq, sorry for the delay - the Line 4 in 2d6187b
(the Anyways, yes the standard location for the model/data cache is in your jetson-containers/data directory, and it would be easiest to just clone jetson-containers to your SD card - but you can change that data directory to wherever you want on your device (but it should always be mounted to the same place inside the container under run.sh is just a helper script and will print out the Also, just to point it out - your jetson-containers repo does not store the containers themselves (those container images are stored by the docker daemon elsewhere, in what's known as the docker data root). Both your jetson-containers repo and docker data root can be moved around independently. |
Ok, thanks - that makes sense! So my understanding is that the data directory is not stored in the docker data root. I've moved the docker root to an external SSD following the steps outlined in setup.md. To do the same with the data directory, should I just clone the repo to the SSD or is there a better way (like just changing the location of the data directory mounted to the container)? If so, how would I do that? |
You can literally just move (or re-clone) your jetson-containers repo to your desired location and start the container again, and by virtue of that $ROOT variable it will start the container next time to mount |
Great, thank you! |
In run.sh, I see:
on line 54, however when I run
echo $ROOT
, it outputs an empty line.My end goal is to have this data be stored on an external drive, however I can't find this data folder on my SD card at the moment.
Also just wanted to mention how helpful I find this project - it's great!
Any help would be appreciated. Thanks!
The text was updated successfully, but these errors were encountered: