.gitignore �.�v�U ��v�U .vagrant/ README.md Simple unprivileged container Usage Start minimal container. $ echo $UID $$ 1000 879 $ cd $(mktemp -d) $ cp -a /bin /lib /lib64 . $ go run /PATH/TO/main.go /bin/bash # echo $UID $$ 0 1 Using the docker container's filesystem First, prepare the tar archive. $ docker export $(docker create alpine /bin/sh) > alpine.tar And start container. $ cd $(mktemp -d)
![「GoでくつるLinuxコンテナ」 - 第10回 コンテナ型仮想化の情報交換会@東京 #lxcjp](https://cdn-ak-scissors.b.st-hatena.com/image/square/1ef26f6cb4349557952890dbe3e567f7f98dc151/height=288;version=1;width=512/https%3A%2F%2Fgithub.githubassets.com%2Fassets%2Fgist-og-image-54fd7dc0713e.png)