Janos Szigetvari Posted October 23, 2022 Share Posted October 23, 2022 Dear Members, I want to play around with docker on my NanoPI R4S, and while doing that I don't want to kill my micro SD card. For this reason I connected a USB SSD, formatted it with ext4 and mounted it onto /data. Now, I want /var to use /data/var as a bind mount, in order to lessen the burden on the SD card the system is running on. What is the right way to achieve this with Armbian? Thanks! Janos 0 Quote Link to comment Share on other sites More sharing options...
Werner Posted October 24, 2022 Share Posted October 24, 2022 Wouldn't it be easier to simply adjust the data root of Docker instead of messing with /var directly? https://www.guguweb.com/2019/02/07/how-to-move-docker-data-directory-to-another-location-on-ubuntu/ 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.