GithubHelp home page GithubHelp logo

grunmax / linuxkit-for-mac Goto Github PK

View Code? Open in Web Editor NEW

This project forked from singe/linuxkit-for-mac

0.0 0.0 0.0 1.29 MB

A method for building LinuxKit images for Docker-CE with custom kernels.

Shell 100.00%

linuxkit-for-mac's Introduction

Wifi and USB/IP for LinuxKit & Docker For Mac

by @singe from @sensepost

Testing wifi and usbip which require certain kernel capabilities. Docker-CE for MacOS does not have these. This necessitates building a wifi capable kernel.

Prerequisites

go get -u github.com/linuxkit/linuxkit/src/cmd/linuxkit
  • cloned from source
git clone https://github.com/linuxkit/linuxkit
cd linuxkit
make
export PATH=$PATH:$(pwd)/bin

brew tap linuxkit/linuxkit
brew install --HEAD linuxkit

Instructions

You need to build a LinuxKit-based ISO to run as your host Docker. This can be done with:

Fetch this repo

git clone https://github.com/grunmax/linuxkit-for-mac
cd linuxkit-for-mac

Build the ISO

cd ../linuxkit
linuxkit build --disable-content-trust --format iso-efi docker-for-mac-wifi.yml

Run your new Docker host:

./run-host.sh

This is a wrapper for the commands listed in linuxkit's own docs.

Interact with your Docker host (using normal docker commands):

./run-client.sh info

Details

linuxkit-for-mac's People

Contributors

singe avatar grunmax avatar nethunteros avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.