package playne

imports "programmer"

Tag: lxc

  • Mounting a folder from the host inside an LXC container

    sharing folder with host on LXC 1. Create profile (makes life easier) Take this script (a slightly modified version from here), save it and make it executable and save it. #!/bin/bash set -eu _UID=$(id -u) GID=$(id -g) # give lxd permission to map your user/group id through grep root:$_UID:1 /etc/subuid -qs || sudo usermod –add-subuids…