8
Moving docker image data between VMs
(lemmy.ml)
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Do you mean they should be bind mounts? From here, a bind mount should look like this:
version: '3.8'
services: my_container: image: my_image:latest volumes: - /path/on/host:/path/in/container
So referring to my Firefly compose above, then I shoudl simply be able to copy over the
/var/www/html/storage/uploadfor the main app data and the database stored in here/var/lib/mysqlcan just be copied over? but then why does my local folder not have anystrorage/uploadfolders?user@vm101:/var/www/html$ ls index.html