Created
October 9, 2013 20:31
-
-
Save aaronfeng/6907828 to your computer and use it in GitHub Desktop.
by default /mnt can't be mounted. pass -lxc-conf to allow mounting of /mnt from host to the container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -lxc-conf="lxc.pivotdir = lxc_putold" -v /mnt/data:/mnt/data ubuntu touch /mnt/data/hello |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment