Compare commits
2 Commits
995c965a0f
...
818f22679d
| Author | SHA1 | Date | |
|---|---|---|---|
| 818f22679d | |||
| d828fed74b |
23
documentation/running-docker.md
Normal file
23
documentation/running-docker.md
Normal 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
|
||||
```
|
||||
Reference in New Issue
Block a user