This commit is contained in:
Jeffrey Paul 2019-11-12 17:08:07 -08:00
commit 13c28cad52
4 changed files with 16 additions and 0 deletions

3
Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM ubuntu:bionic
ADD ./run.sh /tmp/run.sh
RUN bash /tmp/run.sh && rm /tmp/run.sh

4
Makefile Normal file
View File

@ -0,0 +1,4 @@
default: build
build:
docker build .

4
README.md Normal file
View File

@ -0,0 +1,4 @@
# sneak/docker-linux-vm
This is designed to run stuff that needs privileged access inside an
unprivileged container, by running a whole qemu vm inside the container.

5
run.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/bash
export DEBIAN_FRONTEND=noninteractive
apt update
apt install -y qemu-user