add documentation for docker

This commit is contained in:
2022-09-30 23:23:09 +01:00
parent 995c965a0f
commit d828fed74b

View File

@@ -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
```