diff --git a/documentation/running-docker.md b/documentation/running-docker.md new file mode 100644 index 0000000..955e122 --- /dev/null +++ b/documentation/running-docker.md @@ -0,0 +1,23 @@ +# Running Docker + +on a lxc container + +## setup lxc container for docker + +### Config: +- security.nesting: "true" + + +```bash +lxc config edit ${CONTAINER_NAME} +``` + +### setup ubuntu container + +```bash +apt-get install --yes fuse-overlayfs +cd ~/ +curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh +docker run hello-world +docker info +```