On Wed, Jan 27, 2016 at 05:09:52PM +0100, david.an...@bli.uzh.ch wrote: > Hi > > I have noticed that LXD uses some UIDs/GIDs by default I haven't set up and > which aren't represented in /etc/sub[ug]id files. > Interestingly, they are different from instance to instance: one one root is > mapped on 1'000'000 (not 100'000), on another it's 265'536. > Now when I copy the rootfs of a container offline between different LXD or > LXC instances according to > http://stackoverflow.com/questions/33377916/migrating-lxc-to-lxd doesn't the > UID/GID mapping need to be the same?
No, the maps can be different. > If not, why not? Because LXD uidshifts the filesystems for you when you do `lxc copy`. Tycho _______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users