Move docker containers to a new volume on Synology NAS

  Рет қаралды 4,962

Pragmatic IT Solutions by Vikash

Pragmatic IT Solutions by Vikash

Күн бұрын

A while ago I made a video on how to create a storage pool on M.2 NVMe's which you have in those slots in your Synology. Check that video here:
www.vikash.nl/...
In this video, I will show you how to move your docker containers to that new volume, take advantage of those M.2 NVMe's performance, and keep all the persistent data and configuration.

Пікірлер: 16
@danelfring5037
@danelfring5037 3 күн бұрын
resetting the container is easier instead of manually mapping after the Volume move, great video thx!
@buleini
@buleini 8 ай бұрын
Happy to have found this video, this ''trick' also works on the DSM 6 version of the Docker package. Just carefully reselect the paths on the new volume and type in the mountpoints. Thanks for sharing
@thaitichi
@thaitichi 2 ай бұрын
Took me a while to find this video. Exactly what I needed. Thank you!!!
@av1155G
@av1155G 7 ай бұрын
Thank you for the guide. I followed the steps, and while they worked, I noticed that writes were still occurring on the old volume for some reason. To resolve this, I took additional steps beyond the video's instructions. After implementing the process outlined in the video, the containers now reference the new SSD volume, and the shared folder has been successfully transferred. However, to ensure that all writes were directed to the new volume, I took the extra step of uninstalling and then reinstalling Container Manager on the new SSD volume. Please note that uninstalling Container Manager will remove your containers, necessitating a rebuild. But don't worry - because the shared Docker folder has been moved, your data remains intact. Rebuilding the containers should be straightforward. You can use the same docker-compose file to rebuild your projects or rerun any task scheduler scripts you have for container installation. Remember, network configurations, such as MacVLAN, will be deleted, so you'll need to recreate them after reinstalling Container Manager before you can reinstall your containers. After these steps, I confirmed that all write operations are now directed to the new SSD volume, ensuring that the shared folder is also correctly located on the new volume.
@vikash-tech-wizard
@vikash-tech-wizard 7 ай бұрын
I didn’t want to go that far, redoing networking and recreating all my containers. But yeah, completely reinstalling the container package when you have multiple volumes will present you the choice for a volume.
@hotingot4067
@hotingot4067 5 ай бұрын
Thank you very much! a very clear explanation!
@juebaitube
@juebaitube 9 ай бұрын
Thank you Vikash ❤.
@chrisipad4425
@chrisipad4425 10 ай бұрын
it helps with my situation, thanks for your sharing!
@monkeyvideo1029
@monkeyvideo1029 7 ай бұрын
Thanks for the videos...very helpful! How did you create a virtual synology machine? That would be very helpful in testing different containers without risking my real data. TY
@jaredplanz
@jaredplanz 10 ай бұрын
Thanks for this, Helpful with what I am looking to achieve.
@vikash-tech-wizard
@vikash-tech-wizard 10 ай бұрын
You are welcome
@rob28459
@rob28459 Жыл бұрын
But aren't the Docker image and container still located on volume1? IMHO only the configuration and mount are changed.
@vikash-tech-wizard
@vikash-tech-wizard Жыл бұрын
The image and container config is indeed still on volume1. These are used to create and start the container, the persistent data and config is what counts for performance. You can of course move the image to the new created volume but in my testing that is merely an administrative action.
@iconfessimageekUK
@iconfessimageekUK 10 ай бұрын
How do you move the Container manager package to volume 2?
@vikash-tech-wizard
@vikash-tech-wizard 9 ай бұрын
I suppose delete the package, initialize a second volume. That way you can select a volume where to install packsges
@kimsonvu
@kimsonvu 6 ай бұрын
@@vikash-tech-wizard I success do delete package and re-install it and move docker folder as your video.
The BEST ways to use a Synology NAS (17+ Projects)
8:12
WunderTech
Рет қаралды 32 М.
18 Weird and Wonderful ways I use Docker
26:18
NetworkChuck
Рет қаралды 343 М.
龟兔赛跑:好可爱的小乌龟#short #angel #clown
01:00
Super Beauty team
Рет қаралды 88 МЛН
Friends make memories together part 2  | Trà Đặng #short #bestfriend #bff #tiktok
00:18
I Built a NAS: One Year Later. EVERYTHING I Learned and the Mistakes
17:37
Jimmy Tries World
Рет қаралды 983 М.
Best Docker Containers for Synology NAS
12:10
VirtualizationHowto
Рет қаралды 88 М.
you need to learn Docker RIGHT NOW!! // Docker Containers 101
23:19
NetworkChuck
Рет қаралды 2,7 МЛН
Use any M2 NVMe SSD as Storage Volume on Synology NAS
21:31
Pragmatic IT Solutions by Vikash
Рет қаралды 28 М.
What is SSD Caching and Should You Bother On Your NAS?
17:38
NASCompares
Рет қаралды 74 М.
Backing up your Docker Configurations and Data.
17:40
Awesome Open Source
Рет қаралды 32 М.
Synology M.2 NVMe SSD Storage Volume 🔥 - Blazing Fast Docker!!!
14:31
SmartHomeBeginner
Рет қаралды 5 М.