Continuing the discussion from Backup the container and install it on another server:
- I want to move a container from my local host (lxd 3.11 from snap) to a new remote cloud server (running lxd 3.0.3-0ubuntu1~18.04.1).
- The local host has a dynamic ip, the remote host lives on a hetzner cloudserver and has a static ip. For now, this only has to work once, so I don’t think the dynamic IP of my local host is much of a problem.
Now based on the linked Topic I assume there are 3 steps involved on my local lxd host
1. basic settings
lxc config set core.https_address [local-public-ip] lxc config set core.trust_password SOME-PASSWORD
2. adding the remote
lxc remote add [remote-name] [remote-public-ip]
2. copy my local container to the remote
lxc copy CONTAINER_NAME/SNAPSHOT_NAME target:CONTAINER_NAME
now with the first action I am running into an error where I have used the public ip addresse I found in my router’s settings (which is a dynamoc ip I assume)
lxc config set core.https_address [xx.yyy.zzz.xx] Error: cannot listen on https socket: listen tcp [xx.yyy.zzz.xx]:8443: bind: cannot assign requested address
can’t make much of that error. Can someone help?