Browse Source

initial

master
Jeffrey Paul 1 year ago
commit
13c28cad52
4 changed files with 16 additions and 0 deletions
  1. +3
    -0
      Dockerfile
  2. +4
    -0
      Makefile
  3. +4
    -0
      README.md
  4. +5
    -0
      run.sh

+ 3
- 0
Dockerfile 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
- 0
Makefile View File

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

build:
docker build .

+ 4
- 0
README.md 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
- 0
run.sh View File

@@ -0,0 +1,5 @@
#!/bin/bash

export DEBIAN_FRONTEND=noninteractive
apt update
apt install -y qemu-user